]> git.decadent.org.uk Git - dak.git/blobdiff - dak/import_new_files.py
Pass compression methods to FileWriter.
[dak.git] / dak / import_new_files.py
index cf4291b91a20f2f88308e32ca4e35d00a539595b..7a29467a18be52a488ee2f2b00f272a83e2c0364 100755 (executable)
@@ -136,14 +136,14 @@ class ImportNewFiles(object):
                                 log.critical("ERROR: Could not find %s in pool" % chg_fn)
                                 sys.exit(1)
                             else:
-                                chg.changeslinks.append(poolfile)
+                                chg.poolfiles.append(poolfile)
 
 
                 chg.files = files
 
 
             session.commit()
-            
+
         except KeyboardInterrupt:
             print("Caught C-c; terminating.")
             utils.warn("Caught C-c; terminating.")
@@ -158,7 +158,7 @@ def main():
                  ('v',"verbose", "%s::%s" % (options_prefix,"Verbose")),
                 ]
 
-    args = apt_pkg.ParseCommandLine(cnf.Cnf, arguments,sys.argv)
+    args = apt_pkg.parse_commandline(cnf.Cnf, arguments,sys.argv)
 
     num_threads = 1