use retry on urlopen (second try)
authorSylvestre Ledru <sledru@mozilla.com>
Thu, 04 Dec 2014 16:54:18 -0800
changeset 5241 6e079fb7acac6c4651ea1fd012cc90e85c877535
parent 5240 e6544d496365e4534d516aa0db524ce3d48c05bc
child 5242 c92f8f2f101fa08c05aef473ca14a07dd967ef9a
push id5
push usersledru@mozilla.com
push dateFri, 05 Dec 2014 00:54:21 +0000
use retry on urlopen (second try)
buildbot-helpers/release_sanity.py
--- a/buildbot-helpers/release_sanity.py
+++ b/buildbot-helpers/release_sanity.py
@@ -140,17 +140,17 @@ def verify_l10n_changesets(hgHost, l10n_
             'repoPath': releaseConfig['l10nRepoPath'].strip('/'),
             'locale': locale,
             'revision': revision,
         }
         locale_url = make_hg_url(hgHost, localePath, protocol='https')
         log.info("Checking for existence l10n changeset %s %s in repo %s ..."
                  % (locale, revision, locale_url))
 
-        retry(get_l10n_changesets, args=(locale_url), attempts=3, sleeptime=1)
+        retry(get_l10n_changesets, args=locale_url, attempts=3, sleeptime=1)
     return success
 
 
 def verify_l10n_dashboard(l10n_changesets, l10n_dashboard_version=None):
     """Checks the l10n-changesets against the l10n dashboard"""
     success = True
     locales = query_locale_revisions(l10n_changesets)
     if l10n_dashboard_version: