r341 - in branches/rewrite: . src

Otavio Salvador partial-mirror-devel@lists.alioth.debian.org
Wed, 17 Nov 2004 11:36:21 -0700


Author: otavio
Date: Wed Nov 17 11:36:20 2004
New Revision: 341

Modified:
   branches/rewrite/   (props changed)
   branches/rewrite/src/debpartial-mirror.in   (contents, props changed)
Log:
 r318@nurf:  otavio | 2004-11-17T18:34:56.733345Z
 Fix Config module.


Modified: branches/rewrite/src/debpartial-mirror.in
==============================================================================
--- branches/rewrite/src/debpartial-mirror.in	(original)
+++ branches/rewrite/src/debpartial-mirror.in	Wed Nov 17 11:36:20 2004
@@ -22,7 +22,7 @@
 # Imports
 # -------
 import getopt
-from Config import *
+from Config import Config
 from Backend import *
 
 # ---------
@@ -110,7 +110,7 @@
       
   # Load configuration file
   try:
-    cnf = Config(conffile)
+    cnf = Config.Config(conffile)
   except InvalidOption, msg:
     print("Wrong option [%s] found on [%s] section of '%s'."
           % (msg.option, msg.section, conffile))