Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Unified Diff: commit-queue/verification/tree_status.py

Issue 59693004: CQ: add a timeout for socket operations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « commit-queue/commit_queue.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: commit-queue/verification/tree_status.py
===================================================================
--- commit-queue/verification/tree_status.py (revision 232827)
+++ commit-queue/verification/tree_status.py (working copy)
@@ -7,6 +7,7 @@
import calendar
import json
import logging
+import ssl
import time
import urllib2
@@ -46,7 +47,7 @@
if item['date'] < cutoff:
break
return False
- except (urllib2.URLError, ValueError):
+ except (ssl.SSLError, urllib2.URLError, ValueError):
logging.error('Failed to request tree status! %s' % url)
return True
« no previous file with comments | « commit-queue/commit_queue.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698