def intOrNone(i):
if i.strip() == '<STR_LIT:None>' or i.strip() == '<STR_LIT>':<EOL><INDENT>return None<EOL><DEDENT>return int(i)<EOL>
Tries to convert input to a int input or returns ``None``.

:param f: (object) thing to convert to a int
:return: (int or ``None``)