def get_int(self, key, default=UndefinedKey):
        """Return int representation of value found at key

        :param key: key to use (dot separated). E.g., a.b.c
        :type key: basestring
        :param default: default value if key not found
        :type default: int
        :return: int value
        :type return: int
        """
        value = self.get(key, default)
        try:
            return int(value) if value is not None else None
        except (TypeError, ValueError):
            raise ConfigException(
                u"{key} has type '{type}' rather than 'int'".format(key=key, type=type(value).__name__))
def get_int ( self , key , default = UndefinedKey ) : value = self . get ( key , default ) try : return int ( value ) if value is not None else None except ( TypeError , ValueError ) : raise ConfigException ( u"{key} has type '{type}' rather than 'int'" . format ( key = key , type = type ( value ) . __name__ ) )
Return int representation of value found at key

        :param key: key to use (dot separated). E.g., a.b.c
        :type key: basestring
        :param default: default value if key not found
        :type default: int
        :return: int value
        :type return: int