def get_file_name(blob_key):
 if (not blob_key):
  raise files.InvalidArgumentError('Empty blob key')
 if (not isinstance(blob_key, (blobstore.BlobKey, basestring))):
  raise files.InvalidArgumentError('Expected string or blobstore.BlobKey')
 return ('%s%s' % (_BLOBSTORE_DIRECTORY, blob_key))

def get_file_name ( blob_key ) : if ( not blob_key ) : raise files . InvalidArgumentError ( 'Empty blob key' ) if ( not isinstance ( blob_key , ( blobstore . BlobKey , basestring ) ) ) : raise files . InvalidArgumentError ( 'Expected string or blobstore.BlobKey' ) return ( '%s%s' % ( _BLOBSTORE_DIRECTORY , blob_key ) )
get a filename to read from the blob .