diff options
author | 2015-05-16 23:54:16 -0400 | |
---|---|---|
committer | 2015-06-19 15:52:10 -0400 | |
commit | f65ecf2f00848079cda820d2de65152b29129033 (patch) | |
tree | e75d2fd6a37da5d568c730e7da3da624d9201b3f | |
parent | db.py: Reverts OUT.info() call to print() in listinstalls() (diff) | |
download | webapp-config-f65ecf2f00848079cda820d2de65152b29129033.tar.gz webapp-config-f65ecf2f00848079cda820d2de65152b29129033.tar.bz2 webapp-config-f65ecf2f00848079cda820d2de65152b29129033.zip |
config.py: Suppresses warning message for lack of -d flag for --query
-rw-r--r-- | WebappConfig/config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebappConfig/config.py b/WebappConfig/config.py index ab19ee3..cb9d552 100644 --- a/WebappConfig/config.py +++ b/WebappConfig/config.py @@ -1013,7 +1013,8 @@ class Config: pvr += argsvr[i] self.config.set('USER', 'pvr', pvr) - if not options['dir'] and self.work != 'list_installs': + if (not options['dir'] and + self.work not in ('list_installs', 'query')): pn = self.config.get('USER', 'pn') msg = 'Install dir flag not supplied, defaulting to '\ '"%(pn)s".' % {'pn': pn} |