mercurial/ui.py
changeset 4729 9881abfc0e44
parent 4717 97369f6a6bb6
child 5036 ca0d02222d6a
--- a/mercurial/ui.py	Tue Jun 26 18:39:28 2007 +0200
+++ b/mercurial/ui.py	Tue Jun 26 20:37:15 2007 +0200
@@ -237,7 +237,7 @@
             try:
                 func = getattr(cdata, funcname)
                 return func(section, name)
-            except ConfigParser.InterpolationError, inst:
+            except (ConfigParser.InterpolationError, ValueError), inst:
                 msg = _("Error in configuration section [%s] "
                         "parameter '%s':\n%s") % (section, name, inst)
                 if abort: