Skip to content
Browse files

add __path__ to LocalModule, to make python 3.3 happy

  • Loading branch information...
1 parent ca99d60 commit dc18cc9cfe9c701d7b5df689e0b353dcf8912e10 @tomerfiliba committed Feb 8, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 plumbum/__init__.py
View
1 plumbum/__init__.py
@@ -56,6 +56,7 @@ class LocalModule(ModuleType):
__all__ = () # to make help() happy
__package__ = __name__
__getattr__ = local.__getitem__
+ __path__ = []
cmd = LocalModule(__name__ + ".cmd", LocalModule.__doc__)
sys.modules[cmd.__name__] = cmd

0 comments on commit dc18cc9

Please sign in to comment.
Something went wrong with that request. Please try again.