From f0759654f5e9a44ef401fedf6d9d655abc128c96 Mon Sep 17 00:00:00 2001 From: "rcampbell%mozilla.com" Date: Wed, 22 Aug 2007 19:55:51 +0000 Subject: [PATCH] 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 --- .../testing/talos/perfmaster/PerfConfigurator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/tools/buildbot-configs/testing/talos/perfmaster/PerfConfigurator.py b/mozilla/tools/buildbot-configs/testing/talos/perfmaster/PerfConfigurator.py index 8fa4469b15e..eb1d54c227b 100644 --- a/mozilla/tools/buildbot-configs/testing/talos/perfmaster/PerfConfigurator.py +++ b/mozilla/tools/buildbot-configs/testing/talos/perfmaster/PerfConfigurator.py @@ -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)