summaryrefslogtreecommitdiff
path: root/repoze/bfg/compat/__init__.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-04-18 21:54:20 +0000
committerChris McDonough <chrism@agendaless.com>2010-04-18 21:54:20 +0000
commite6fa66bd2c18632ef0608c63fb024b01931a5272 (patch)
tree6c1df278eb35dc9dff725b62c2387183d63ba5f5 /repoze/bfg/compat/__init__.py
parentc91eff7524189db9152260ff5c8db1c40672ad55 (diff)
downloadpyramid-e6fa66bd2c18632ef0608c63fb024b01931a5272.tar.gz
pyramid-e6fa66bd2c18632ef0608c63fb024b01931a5272.tar.bz2
pyramid-e6fa66bd2c18632ef0608c63fb024b01931a5272.zip
- Use "Venusian" (`http://docs.repoze.org/venusian
<http://docs.repoze.org/venusian>`) to perform ``bfg_view`` decorator scanning rather than relying on a BFG-internal decorator scanner. (Truth be told, Venusian is really just a generalization of the BFG-internal decorator scanner). - A new install-time dependency on the ``venusian`` distribution was added. - Remove ``repoze.bfg.compat.pkgutil_26.py`` and import alias ``repoze.bfg.compat.walk_packages``. These were only required by internal scanning machinery; Venusian replaced the internal scanning machinery, so these are no longer required.
Diffstat (limited to 'repoze/bfg/compat/__init__.py')
-rw-r--r--repoze/bfg/compat/__init__.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/repoze/bfg/compat/__init__.py b/repoze/bfg/compat/__init__.py
index b3585eac2..205175132 100644
--- a/repoze/bfg/compat/__init__.py
+++ b/repoze/bfg/compat/__init__.py
@@ -136,11 +136,6 @@ except ImportError: # pragma: no cover
import simplejson as json
try:
- from pkgutil import walk_packages
-except ImportError: #pragma: no cover
- from pkgutil_26 import walk_packages
-
-try:
from hashlib import md5
except ImportError: # pragma: no cover
import md5