use retry on urlopen (third try)
authorSylvestre Ledru <sledru@mozilla.com>
Thu, 04 Dec 2014 16:57:33 -0800
changeset 5242 c92f8f2f101fa08c05aef473ca14a07dd967ef9a
parent 5241 6e079fb7acac6c4651ea1fd012cc90e85c877535
child 5243 82e0bf9ea9e9856961a49e5e13a2538ea463289e
push id6
push usersledru@mozilla.com
push dateFri, 05 Dec 2014 01:00:09 +0000
use retry on urlopen (third 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: