From: Michael Hanke Date: Thu, 21 Jan 2010 01:57:24 +0000 (-0500) Subject: DDE refuses connection -- bad bad bad. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4ceea445128e0c7699bc7843bdb204efd16a16dc;p=neurodebian.git DDE refuses connection -- bad bad bad. --- diff --git a/neurodebian/dde.py b/neurodebian/dde.py index f3c959e..927988f 100644 --- a/neurodebian/dde.py +++ b/neurodebian/dde.py @@ -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