From b2726bd058993a70e6be2d477e7c3d48cf688822 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Wed, 16 Jan 2013 10:08:24 +0100 Subject: [PATCH] fixes --- euscanwww/djeuscan/processing/scan/scan_upstream.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"],