]> git.donarmstrong.com Git - neurodebian.git/commitdiff
DDE refuses connection -- bad bad bad.
authorMichael Hanke <michael.hanke@gmail.com>
Thu, 21 Jan 2010 01:57:24 +0000 (20:57 -0500)
committerMichael Hanke <michael.hanke@gmail.com>
Thu, 21 Jan 2010 01:57:24 +0000 (20:57 -0500)
neurodebian/dde.py

index f3c959e25dfd285f2bbc1d4f6021945830275469..927988f12bad59f1859aebe559847c9b82711928 100644 (file)
@@ -388,7 +388,7 @@ def create_dir(path):
 def dde_get(url):
     try:
         return json.read(urllib2.urlopen(url+"?t=json").read())['r']
-    except (urllib2.HTTPError, StopIteration):
+    except (urllib2.HTTPError, StopIteration, urllib2.URLError):
         print "NO PKG INFO AT:", url
         return False