Commit 55f22bc2 authored by Mattia Rizzolo's avatar Mattia Rizzolo

stop failing if the deferred status file doesn't have a Binary key

dpkg 1.19.3 stopped emitting a Binary field in the .changes when no binaries are uploaded
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <>
parent 329faa41
...@@ -70,7 +70,7 @@ class deferred_gatherer(gatherer): ...@@ -70,7 +70,7 @@ class deferred_gatherer(gatherer):
current_arch = {'Source': current['Source'], 'Version': current['Version']} current_arch = {'Source': current['Source'], 'Version': current['Version']}
current_arch['Architecture'] = arch current_arch['Architecture'] = arch
da_list.append(current_arch) da_list.append(current_arch)
for binary in set(current['Binary'].split()): for binary in set(current.get('Binary', '').split()):
current_binary = {'Source': current['Source'], 'Version': current['Version']} current_binary = {'Source': current['Source'], 'Version': current['Version']}
current_binary['Package'] = binary current_binary['Package'] = binary
db_list.append(current_binary) db_list.append(current_binary)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment