def parse_file_info(field_storage):
 info = _parse_upload_info(field_storage, FileInfoParseError)
 if (info is None):
  return None
 info.pop('blob_key', None)
 return FileInfo(**info)

def parse_file_info ( field_storage ) : info = _parse_upload_info ( field_storage , FileInfoParseError ) if ( info is None ) : return None info . pop ( 'blob_key' , None ) return FileInfo ( ** info )
parse an fileinfo record from file upload field_storage .