]> git.donarmstrong.com Git - neurodebian.git/commitdiff
Catch yet another exception.
authorMichael Hanke <michael.hanke@gmail.com>
Mon, 26 Apr 2010 18:26:38 +0000 (14:26 -0400)
committerMichael Hanke <michael.hanke@gmail.com>
Mon, 26 Apr 2010 18:26:38 +0000 (14:26 -0400)
neurodebian/dde.py

index 8e54ad42cca7819780ce3a3167ce09c356bf72dd..d3898d0b6c10268eb74e70a5350c3cabb8d9b7c4 100755 (executable)
@@ -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):