aboutsummaryrefslogtreecommitdiff
path: root/rpkid/tests
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-09-30 15:43:56 +0000
committerRob Austein <sra@hactrn.net>2012-09-30 15:43:56 +0000
commit8b2dc576c29cc8d0f3dfc18f0950019bac812a49 (patch)
tree380d9474a1784267c11a925fc0c353f7acd128ff /rpkid/tests
parent893318adda9dfba417f102a461b03bdf6d329678 (diff)
Fix --quiet.
svn path=/branches/tk274/; revision=4744
Diffstat (limited to 'rpkid/tests')
-rw-r--r--rpkid/tests/yamlconf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/tests/yamlconf.py b/rpkid/tests/yamlconf.py
index 0a33b026..e2016b12 100644
--- a/rpkid/tests/yamlconf.py
+++ b/rpkid/tests/yamlconf.py
@@ -441,7 +441,7 @@ class allocation(object):
assert not self.is_hosted
self._zoo = rpki.irdb.Zookeeper(
cfg = rpki.config.parser(self.path("rpki.conf")),
- logstream = sys.stdout)
+ logstream = None if quiet else sys.stdout)
@property
def zoo(self):
@@ -601,7 +601,7 @@ def main():
help = "Configure for use with yamltest on localhost")
parser.add_argument("-f", "--flat_publication", action = "store_true",
help = "Use flat publication model")
- parser.add_argument("-q", "--quiet", action = "store_false",
+ parser.add_argument("-q", "--quiet", action = "store_true",
help = "Work more quietly")
parser.add_argument("--profile",
help = "Filename for profile output")