All pastes #830019 Raw Edit

Untitled

public python v1 · immutable
#830019 ·published 2007-12-23 18:29 UTC
rendered paste body
def handleInt(cmd):    try:        cmd + 10    except TypeError, (error,):        cmdHandler(cmd)    if(cmd <= 31):        states['day']= cmd    else:        print 'Invalid day'def handleInt(cmd):    try:        cmd + 10  #what is this for?    except TypeError:        cmdHandler(cmd)    if int(cmd) <= 31:        states['day']= cmd    else:        print 'Invalid day'