summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-12-07 20:49:16 -0800
committerSteve Piercy <web@stevepiercy.com>2016-12-13 17:39:00 -0800
commit83fb105cd8a5c0fff4aa8da35ee43c48c7b0424e (patch)
tree1e36244867881d9e42c913f962125b8e9197c154
parenta4f18f93ecaf1fcd0bfb78aba7c6faf99762d253 (diff)
downloadpyramid-83fb105cd8a5c0fff4aa8da35ee43c48c7b0424e.tar.gz
pyramid-83fb105cd8a5c0fff4aa8da35ee43c48c7b0424e.tar.bz2
pyramid-83fb105cd8a5c0fff4aa8da35ee43c48c7b0424e.zip
test for the attribute config_uri
-rw-r--r--pyramid/scripts/proutes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/scripts/proutes.py b/pyramid/scripts/proutes.py
index 696bdd953..92ec48ed1 100644
--- a/pyramid/scripts/proutes.py
+++ b/pyramid/scripts/proutes.py
@@ -322,7 +322,7 @@ class PRoutesCommand(object):
return config.get_routes_mapper()
def run(self, quiet=False):
- if not self.args:
+ if not self.args.config_uri:
self.out('requires a config file argument')
return 2