Author: justi9
Date: 2008-11-18 13:02:12 -0500 (Tue, 18 Nov 2008)
New Revision: 2831
Modified:
mgmt/trunk/mint/bin/mint-bench
Log:
Remove the profile option so it doesn't interfere with later arg parsing
Modified: mgmt/trunk/mint/bin/mint-bench
===================================================================
--- mgmt/trunk/mint/bin/mint-bench 2008-11-18 16:49:48 UTC (rev 2830)
+++ mgmt/trunk/mint/bin/mint-bench 2008-11-18 18:02:12 UTC (rev 2831)
@@ -16,6 +16,8 @@
root.addHandler(h)
if "--profile" in sys.argv:
+ sys.argv.remove("--profile")
+
from profile import Profile
from pstats import Stats
Show replies by date