#NEWLINE# def __getitem__( self , key ) : #NEWLINE# #INDENT# for d in ( self . POST , self . GET ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return d [ key ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# raise KeyError ( ( '%s not found in either POST or GET' % key ) )