aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"],