mercurial/hgweb/hgwebdir_mod.py
changeset 3425 ec6f400cff4d
parent 3365 cf680c9ab1dd
child 3478 2896ce093ec4
--- a/mercurial/hgweb/hgwebdir_mod.py	Mon Oct 16 11:36:57 2006 -0700
+++ b/mercurial/hgweb/hgwebdir_mod.py	Mon Oct 16 15:38:53 2006 -0300
@@ -8,7 +8,7 @@
 
 import os
 from mercurial.demandload import demandload
-demandload(globals(), "ConfigParser mimetools cStringIO")
+demandload(globals(), "mimetools cStringIO")
 demandload(globals(), "mercurial:ui,hg,util,templater")
 demandload(globals(), "mercurial.hgweb.hgweb_mod:hgweb")
 demandload(globals(), "mercurial.hgweb.common:get_mtime,staticfile,style_map")
@@ -30,7 +30,7 @@
             self.repos = cleannames(config.items())
             self.repos.sort()
         else:
-            cp = ConfigParser.SafeConfigParser()
+            cp = util.configparser()
             cp.read(config)
             self.repos = []
             if cp.has_section('web'):