Example config had different names than actual code :-)

This commit is contained in:
Stuart Gathman
2008-10-23 19:58:06 +00:00
parent dad2f4f087
commit 66314dc675
4 changed files with 21 additions and 23 deletions
+5
View File
@@ -57,3 +57,8 @@ class MilterConfigParser(ConfigParser):
if self.has_option(sect,opt):
return self.get(sect,opt)
return default
def getintdefault(self,sect,opt,default=None):
if self.has_option(sect,opt):
return self.getint(sect,opt)
return default