bugwarrior/config.py
def getint(self, section, option):
        """ Accepts both integers and empty values. """
        try:
            return super(BugwarriorConfigParser, self).getint(section, option)
        except ValueError:
            if self.get(section, option) == u'':
                return None
            else:
                raise ValueError(
                    "{section}.{option} must be an integer or empty.".format(
                        section=section, option=option))
def getint(self, section, option):
        """ Accepts both integers and empty values. """
        try:
            return super(BugwarriorConfigParser, self).getint(section, option)
        except ValueError:
            if self.get(section, option) == u'':
                return None
            else:
                raise ValueError(
                    "{section}.{option} must be an integer or empty.".format(
                        section=section, option=option))
def getint ( self , section , option ) : try : return super ( BugwarriorConfigParser , self ) . getint ( section , option ) except ValueError : if self . get ( section , option ) == u'' : return None else : raise ValueError ( "{section}.{option} must be an integer or empty." . format ( section = section , option = option ) )
Accepts both integers and empty values.
Accepts both integers and empty values .