summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pyramid/scripts/pcreate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyramid/scripts/pcreate.py b/src/pyramid/scripts/pcreate.py
index 902259089..ee3c60ee2 100644
--- a/src/pyramid/scripts/pcreate.py
+++ b/src/pyramid/scripts/pcreate.py
@@ -266,7 +266,7 @@ https://github.com/Pylons/pyramid-cookiecutter-starter
try:
# use absolute imports
__import__(pkg_name, globals(), locals(), [], 0)
- except ImportError as error:
+ except ImportError:
pkg_exists = False
if not pkg_exists:
return True