##// END OF EJS Templates
config: use the new '_unset' value for 'configint'...
marmoute -
r32961:24111157 default
parent child Browse files
Show More
@@ -574,7 +574,7 b' class ui(object):'
574 raise error.ConfigError(_("%s.%s is not a valid %s ('%s')")
574 raise error.ConfigError(_("%s.%s is not a valid %s ('%s')")
575 % (section, name, desc, v))
575 % (section, name, desc, v))
576
576
577 def configint(self, section, name, default=None, untrusted=False):
577 def configint(self, section, name, default=_unset, untrusted=False):
578 """parse a configuration element as an integer
578 """parse a configuration element as an integer
579
579
580 >>> u = ui(); s = 'foo'
580 >>> u = ui(); s = 'foo'
General Comments 0
You need to be logged in to leave comments. Login now