trepan/processor/cmdproc.py
def get_int_noerr(self, arg):
        """Eval arg and it is an integer return the value. Otherwise
        return None"""
        if self.curframe:
            g = self.curframe.f_globals
            l = self.curframe.f_locals
        else:
            g = globals()
            l = locals()
            pass
        try:
            val = int(eval(arg, g, l))
        except (SyntaxError, NameError, ValueError, TypeError):
            return None
        return val
def get_int_noerr(self, arg):
        if self.curframe:
            g = self.curframe.f_globals
            l = self.curframe.f_locals
        else:
            g = globals()
            l = locals()
            pass
        try:
            val = int(eval(arg, g, l))
        except (SyntaxError, NameError, ValueError, TypeError):
            return None
        return val
def get_int_noerr ( self , arg ) : if self . curframe : g = self . curframe . f_globals l = self . curframe . f_locals else : g = globals ( ) l = locals ( ) pass try : val = int ( eval ( arg , g , l ) ) except ( SyntaxError , NameError , ValueError , TypeError ) : return None return val
Eval arg and it is an integer return the value. Otherwise
        return None
Eval arg and it is an integer return the value . Otherwise return None