Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

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 5d7cb38 commit 98c797e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGES.txt
@@ -1,7 +1,7 @@
0.0.2 (unreleased)
------------------

- Nothing changed yet.
- Standardize namespace __init__


0.0.1 (2013-05-09)
Expand Down
8 changes: 4 additions & 4 deletions src/z3c/__init__.py
@@ -1,7 +1,7 @@
# this is a namespace package
try:
# Declare this a namespace package if pkg_resources is available.
import pkg_resources
pkg_resources.declare_namespace('z3c')
pkg_resources.declare_namespace(__name__)
except ImportError:
pass

import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)

0 comments on commit 98c797e

Please sign in to comment.