From: Luca Falavigna Date: Mon, 6 May 2013 09:19:24 +0000 (+0000) Subject: upload.source can be null, fall back to upload.changes X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad348f8d03a1a5d17d71b91f7348a97e5b425e56;p=dak upload.source can be null, fall back to upload.changes --- diff --git a/dak/process_new.py b/dak/process_new.py index f33b53ba..1d136bea 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -121,6 +121,7 @@ class Priority_Completer: def takenover_binaries(upload, missing, session): rows = [] + source = upload.source.source if upload.source else upload.changes.source binaries = set([x.package for x in upload.binaries]) for m in missing: if m['type'] != 'dsc':