aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Chary <corentin.chary@gmail.com>2013-01-16 10:08:24 +0100
committerCorentin Chary <corentin.chary@gmail.com>2013-01-16 10:08:24 +0100
commitb2726bd058993a70e6be2d477e7c3d48cf688822 (patch)
tree178702fc69063b1bf9e3828e96bcdeac1f5b50c6
parentdjeuscan: add lost migrations (diff)
downloadeuscan-b2726bd058993a70e6be2d477e7c3d48cf688822.tar.gz
euscan-b2726bd058993a70e6be2d477e7c3d48cf688822.tar.bz2
euscan-b2726bd058993a70e6be2d477e7c3d48cf688822.zip
fixes
-rw-r--r--euscanwww/djeuscan/processing/scan/scan_upstream.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/euscanwww/djeuscan/processing/scan/scan_upstream.py b/euscanwww/djeuscan/processing/scan/scan_upstream.py
index da384e5..d6b8649 100644
--- a/euscanwww/djeuscan/processing/scan/scan_upstream.py
+++ b/euscanwww/djeuscan/processing/scan/scan_upstream.py
@@ -43,8 +43,9 @@ class ScanUpstream(object):
return {}
obj = self.store_package(cpv)
-
for res in out[package]["result"]:
+ if not res['version']:
+ continue
self.store_version(
obj,
res["version"],