]> git.decadent.org.uk Git - dak.git/commitdiff
bugfixes
authorTorsten Werner <twerner@debian.org>
Sat, 5 Mar 2011 17:55:00 +0000 (17:55 +0000)
committerTorsten Werner <twerner@debian.org>
Sat, 5 Mar 2011 17:55:00 +0000 (17:55 +0000)
Signed-off-by: Torsten Werner <twerner@debian.org>
dak/contents.py

index 24146547e68828204e99b44b963acf81ea03ddf7..a8578ae32c51a4bfad7e2a4ced29df2bfe1134c6 100755 (executable)
@@ -40,7 +40,7 @@ import apt_pkg
 
 from daklib.config import Config
 from daklib.dbconn import *
-from daklib.contents import ContentsScanner
+from daklib.contents import ContentsScanner, ContentsWriter
 from daklib import daklog
 from daklib import utils
 
@@ -77,7 +77,7 @@ OPTIONS for scan
 
 def write_all(cnf, suite_names = [], force = None):
     Logger = daklog.Logger(cnf.Cnf, 'contents generate')
-    result = ContentsScanner.scan_all(limit)
+    ContentsWriter.write_all(suite_names, force)
     Logger.close()
 
 ################################################################################