def _cgi_FieldStorage__repr__patch(self):
 if self.file:
  return ('FieldStorage(%r, %r)' % (self.name, self.filename))
 return ('FieldStorage(%r, %r, %r)' % (self.name, self.filename, self.value))

def _cgi_FieldStorage__repr__patch ( self ) : if self . file : return ( 'FieldStorage(%r, %r)' % ( self . name , self . filename ) ) return ( 'FieldStorage(%r, %r, %r)' % ( self . name , self . filename , self . value ) )
monkey patch for fieldstorage .