]> git.decadent.org.uk Git - dak.git/blobdiff - dak/contents.py
p-u
[dak.git] / dak / contents.py
index be1e6d05ceef672389b364949c87ceeedb4a33ed..1b3f3e1f0e5dac8100cbf92d952aa19e75bf57f9 100755 (executable)
@@ -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():