diff runtreepkg.py @ 7:96f4f58c62b5

Rename the Packager class to PackagerGroup
author Bernhard Herzog <bh@intevation.de>
date Fri, 09 Mar 2007 14:33:50 +0100
parents fee641fec94e
children 574506a022f6
line wrap: on
line diff
--- a/runtreepkg.py	Fri Mar 09 12:36:05 2007 +0100
+++ b/runtreepkg.py	Fri Mar 09 14:33:50 2007 +0100
@@ -12,7 +12,7 @@
 import logging
 from optparse import OptionParser
 
-from treepkg.packager import create_packager, Packager
+from treepkg.packager import create_packager, PackagerGroup
 from treepkg.readconfig import read_config
 
 def initialize_logging():
@@ -37,8 +37,8 @@
     initialize_logging()
 
     treepkg_opts, packager_opts = read_config(options.config_file)
-    packager = Packager([create_packager(**opts) for opts in packager_opts],
-                        **treepkg_opts)
-    packager.run()
+    group = PackagerGroup([create_packager(**opts) for opts in packager_opts],
+                          **treepkg_opts)
+    group.run()
 
 main()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)