[Checkins] SVN: z3c.flashmessage/trunk/src/z3c/__init__.py see ZTK decicions
Michael Howitz
mh at gocept.com
Thu Oct 28 08:40:27 EDT 2010
Log message for revision 117994:
see ZTK decicions
Changed:
U z3c.flashmessage/trunk/src/z3c/__init__.py
-=-
Modified: z3c.flashmessage/trunk/src/z3c/__init__.py
===================================================================
--- z3c.flashmessage/trunk/src/z3c/__init__.py 2010-10-28 10:55:53 UTC (rev 117993)
+++ z3c.flashmessage/trunk/src/z3c/__init__.py 2010-10-28 12:40:26 UTC (rev 117994)
@@ -1,7 +1 @@
-# this is a namespace package
-try:
- import pkg_resources
- pkg_resources.declare_namespace(__name__)
-except ImportError:
- import pkgutil
- __path__ = pkgutil.extend_path(__path__, __name__)
+__import__('pkg_resources').declare_namespace(__name__)
More information about the checkins
mailing list