From c5a47e9d0215395313681cf5a052f699e7187b45 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Mon, 26 Apr 2010 14:26:38 -0400 Subject: [PATCH] Catch yet another exception. --- neurodebian/dde.py | 3 +++ 1 file changed, 3 insertions(+) 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): -- 2.39.5