Changeset 53976 in webkit
- Timestamp:
- Jan 28, 2010 12:12:32 AM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r53968 r53976 1 2010-01-28 Joe Mason <jmason@rim.com> 2 3 Reviewed by Adam Barth. 4 5 Limit login retries to 5 6 https://bugs.webkit.org/show_bug.cgi?id=34193 7 8 * Scripts/webkitpy/bugzilla.py: 9 1 10 2010-01-27 Martin Robinson <mrobinson@webkit.org> 2 11 -
trunk/WebKitTools/Scripts/webkitpy/bugzilla.py
r53733 r53976 468 468 return 469 469 470 attempts = 0 470 471 while not self.authenticated: 472 attempts += 1 471 473 (username, password) = Credentials( 472 474 self.bug_server_host, git_prefix="bugzilla").read_credentials() … … 484 486 # "invalid" assume it's the login failure page. 485 487 if match and re.search("Invalid", match.group(1), re.IGNORECASE): 486 log("Bugzilla login failed: %s" % match.group(1)) 488 errorMessage = "Bugzilla login failed: %s" % match.group(1) 489 # raise an exception only if this was the last attempt 490 if attempts < 5: 491 log(errorMessage) 492 else: 493 raise Exception(errorMessage) 487 494 else: 488 495 self.authenticated = True
Note: See TracChangeset
for help on using the changeset viewer.