Skip to content

Commit

Permalink
chore: no need for old imports
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Jan 27, 2023
1 parent 25ea2a6 commit 99e5edd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions plone/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
try:
__import__("pkg_resources").declare_namespace(__name__)
except ImportError:
from pkgutil import extend_path

__path__ = extend_path(__path__, __name__)
__import__("pkg_resources").declare_namespace(__name__)

0 comments on commit 99e5edd

Please sign in to comment.