Author: justi9
Date: 2008-12-11 13:52:13 -0500 (Thu, 11 Dec 2008)
New Revision: 2980
Modified:
mgmt/trunk/mint/python/mint/tools.py
Log:
Make debug conditional in the mint-bench tool
Modified: mgmt/trunk/mint/python/mint/tools.py
===================================================================
--- mgmt/trunk/mint/python/mint/tools.py 2008-12-11 18:50:48 UTC (rev 2979)
+++ mgmt/trunk/mint/python/mint/tools.py 2008-12-11 18:52:13 UTC (rev 2980)
@@ -118,7 +118,7 @@
model = MintModel(opts.get("data", ddef),
int(opts.get("expire-frequency", freqDefault)),
int(opts.get("expire-threshold", thresholdDefault)),
- debug=True)
+ debug="debug" in opts)
model.pollRegistrations = False
model.check()