bug 393256 - talos buildbot PerfConfigurator.py has errors, r=bhearsum@mozilla.com

git-svn-id: svn://10.0.0.236/trunk@232877 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rcampbell%mozilla.com
2007-08-22 19:55:51 +00:00
parent 3abaf15491
commit f0759654f5

View File

@@ -7,6 +7,7 @@ Created by Rob Campbell on 2007-03-02.
Modified by Rob Campbell on 2007-05-30
Modified by Rob Campbell on 2007-06-26 - added -i buildid option
Modified by Rob Campbell on 2007-07-06 - added -d testDate option
Modified by Rob Campbell on 2007-08-22 - fixed errors in main()
"""
import sys
@@ -136,6 +137,7 @@ def main(argv=None):
output = ""
title = defaultTitle
branch = ""
buildid = ""
testDate = False
verbose = False
@@ -151,7 +153,7 @@ def main(argv=None):
# option processing
for option, value in opts:
if option == ("-v", "--verbose"):
if option in ("-v", "--verbose"):
verbose = True
if option in ("-h", "--help"):
raise Usage(help_message)