summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-12-22 23:08:12 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2008-12-22 23:08:46 -0800
commit4aa143f13e3a7cebcbece19ff4800057eafc352e (patch)
tree43c943391b66031c92aa69ea9f6b63b89778d9ce /check.py
parentRemove wget usage for buglist. (diff)
downloadgard-4aa143f13e3a7cebcbece19ff4800057eafc352e.tar.gz
gard-4aa143f13e3a7cebcbece19ff4800057eafc352e.tar.bz2
gard-4aa143f13e3a7cebcbece19ff4800057eafc352e.zip
Reminder about timeouts.
Diffstat (limited to 'check.py')
-rw-r--r--check.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/check.py b/check.py
index 2c38799..df71db3 100644
--- a/check.py
+++ b/check.py
@@ -38,6 +38,7 @@ class GardCheck:
# corresponding time stamp in seconds
def _get_timestamp_from_url(self, url):
try:
+ # TODO: Add a timeout
f = urllib2.urlopen(url)
date = f.read()
f.close()