diff runtreepkg.py @ 4:fee641fec94e

Separate the kolab specific parts.
author Bernhard Herzog <bh@intevation.de>
date Fri, 09 Mar 2007 12:26:01 +0100
parents f78a02e79c84
children 96f4f58c62b5
line wrap: on
line diff
--- a/runtreepkg.py	Thu Mar 08 20:23:28 2007 +0100
+++ b/runtreepkg.py	Fri Mar 09 12:26:01 2007 +0100
@@ -12,7 +12,7 @@
 import logging
 from optparse import OptionParser
 
-from treepkg.packager import AssemblyLine, Packager
+from treepkg.packager import create_packager, Packager
 from treepkg.readconfig import read_config
 
 def initialize_logging():
@@ -36,8 +36,8 @@
 
     initialize_logging()
 
-    treepkg_opts, assembly_line_opts = read_config(options.config_file)
-    packager = Packager([AssemblyLine(**opts) for opts in assembly_line_opts],
+    treepkg_opts, packager_opts = read_config(options.config_file)
+    packager = Packager([create_packager(**opts) for opts in packager_opts],
                         **treepkg_opts)
     packager.run()
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)