From: Michael Hanke Date: Mon, 26 Apr 2010 18:26:38 +0000 (-0400) Subject: Catch yet another exception. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c5a47e9d0215395313681cf5a052f699e7187b45;p=neurodebian.git Catch yet another exception. --- diff --git a/neurodebian/dde.py b/neurodebian/dde.py index 8e54ad4..d3898d0 100755 --- a/neurodebian/dde.py +++ b/neurodebian/dde.py @@ -413,6 +413,9 @@ def dde_get(url, fail=False): except (StopIteration): print "NOINFO:", url return False + except json.ReadException, e: + print "NOCONTENT:", url, type(e) + return False def import_dde(cfg, db):