Skip to content

Commit

Permalink
Standardize namespace __init__, pylint burps otherwise
Browse files Browse the repository at this point in the history
  • Loading branch information
agroszer committed Nov 4, 2015
1 parent f22ab77 commit 15162b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.txt
Expand Up @@ -5,7 +5,7 @@ CHANGES
1.0.0a3 (unreleased)
--------------------

- Nothing changed yet.
- Standardize namespace __init__


1.0.0a2 (2013-03-03)
Expand Down
6 changes: 4 additions & 2 deletions src/z3c/__init__.py
@@ -1,5 +1,7 @@
# this is a namespace package
try:
__import__('pkg_resources').declare_namespace(__name__)
import pkg_resources
pkg_resources.declare_namespace(__name__)
except ImportError:
pass
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)

0 comments on commit 15162b2

Please sign in to comment.