summaryrefslogtreecommitdiffstats
path: root/tools/hacking.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-02-20 08:50:18 +0000
committerGerrit Code Review <review@openstack.org>2013-02-20 08:50:18 +0000
commite37e02870216ea6de130ce3d1b2e8f642de9faf6 (patch)
treed3eef37cf671a7879303d3f693e8621c75377fe3 /tools/hacking.py
parent512490200e009bce3cb155fcea683e9776d67658 (diff)
parent706a1370056ffccc2c8811fc1ac0679944564ece (diff)
downloadnova-e37e02870216ea6de130ce3d1b2e8f642de9faf6.tar.gz
nova-e37e02870216ea6de130ce3d1b2e8f642de9faf6.tar.xz
nova-e37e02870216ea6de130ce3d1b2e8f642de9faf6.zip
Merge "Use oslo-config-2013.1b4"
Diffstat (limited to 'tools/hacking.py')
-rwxr-xr-xtools/hacking.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/hacking.py b/tools/hacking.py
index 69a4d7399..051c2a33c 100755
--- a/tools/hacking.py
+++ b/tools/hacking.py
@@ -48,7 +48,9 @@ logging.disable('LOG')
IMPORT_EXCEPTIONS = ['sqlalchemy', 'migrate', 'nova.db.sqlalchemy.session',
'nova.openstack.common.log.logging',
- 'nova.db.sqlalchemy.migration.versioning_api', 'paste']
+ 'nova.db.sqlalchemy.migration.versioning_api']
+# imp.find_module() doesn't support namespace packages
+IMPORT_EXCEPTIONS += ['oslo', 'paste']
# Paste is missing a __init__ in top level directory
START_DOCSTRING_TRIPLE = ['u"""', 'r"""', '"""', "u'''", "r'''", "'''"]
END_DOCSTRING_TRIPLE = ['"""', "'''"]