]> git.decadent.org.uk Git - dak.git/commitdiff
upload.source can be null, fall back to upload.changes
authorLuca Falavigna <dktrkranz@debian.org>
Mon, 6 May 2013 09:19:24 +0000 (09:19 +0000)
committerLuca Falavigna <dktrkranz@debian.org>
Tue, 7 May 2013 06:33:35 +0000 (06:33 +0000)
dak/process_new.py

index f33b53bace1e1d570ef544baaf72c2013335d375..1d136bea36a58473b67ba62c52cc24df2bb5f1cb 100755 (executable)
@@ -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':