X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fcontents.py;h=1b3f3e1f0e5dac8100cbf92d952aa19e75bf57f9;hb=7e934c441af23d80af0daebed24146b335d846ff;hp=be1e6d05ceef672389b364949c87ceeedb4a33ed;hpb=275962c383557fc7e83c1c0bce6fe81a23d3ebb0;p=dak.git diff --git a/dak/contents.py b/dak/contents.py index be1e6d05..1b3f3e1f 100755 --- a/dak/contents.py +++ b/dak/contents.py @@ -189,7 +189,7 @@ class GzippedContentWriter(object): def __init__(self, filename): """ - @ptype filename: string + @type filename: string @param filename: the name of the file to write to """ self.queue = Queue.Queue() @@ -380,6 +380,9 @@ class Contents(object): filename, section, package, arch = r + if not file_writers.has_key( arch ): + continue + if arch == arch_all_id: ## its arch all, so all contents files get it for writer in file_writers.values():