def _get_collection_memcache_key(collection_id, version=None):
 if version:
  return ('collection-version:%s:%s' % (collection_id, version))
 else:
  return ('collection:%s' % collection_id)

def _get_collection_memcache_key ( collection_id , version = None ) : if version : return ( 'collection-version:%s:%s' % ( collection_id , version ) ) else : return ( 'collection:%s' % collection_id )
returns a memcache key for the collection .