use retry_exceptions (bis) default tip
authorSylvestre Ledru <sledru@mozilla.com>
Mon, 08 Dec 2014 17:49:00 +0100
changeset 5253 6eef74637b03f15198d6082f7123a3dce426fb1b
parent 5252 a6245b38388320339b486fc0d06f63de1ad251a4
push id15
push usersledru@mozilla.com
push dateMon, 08 Dec 2014 16:49:06 +0000
use retry_exceptions (bis)
buildbot-helpers/release_sanity.py
--- a/buildbot-helpers/release_sanity.py
+++ b/buildbot-helpers/release_sanity.py
@@ -122,17 +122,17 @@ def get_l10n_changesets(locale_url):
         urllib2.urlopen(locale_url)
         return True
     except urllib2.HTTPError, e:
         reason = ""
         if hasattr(e, 'reason'):
             # Python 2.6 does not have reason
             reason = e.reason
         log.error("error checking l10n changeset %s: %d %s" % (locale_url, e.code, reason))
-        raise urllib2.HTTPError
+        raise e
 
 
 def verify_l10n_changesets(hgHost, l10n_changesets):
     """Checks for the existance of all l10n changesets"""
     success = True
     locales = query_locale_revisions(l10n_changesets)
     for locale in sorted(locales.keys()):
         revision = locales[locale]