diff --git a/kombu/__init__.py b/kombu/__init__.py index fe967a9a..698b8b96 100644 --- a/kombu/__init__.py +++ b/kombu/__init__.py @@ -86,12 +86,6 @@ class module(ModuleType): return result -# 2.5 does not define __package__ -try: - package = __package__ -except NameError: # pragma: no cover - package = 'kombu' - # keep a reference to this module so that it's not garbage collected old_module = sys.modules[__name__] @@ -106,7 +100,7 @@ new_module.__dict__.update({ '__contact__': __contact__, '__homepage__': __homepage__, '__docformat__': __docformat__, - '__package__': package, + '__package__': __package__, 'version_info_t': version_info_t, 'version_info': version_info, 'VERSION': VERSION