def generate_private_uuid(node, wname):
 private_uuid = str(uuid.uuid1())
 wiki_key = to_mongo_key(wname)
 node.wiki_private_uuids[wiki_key] = private_uuid
 node.save()
 return private_uuid

def generate_private_uuid ( node , wname ) : private_uuid = str ( uuid . uuid1 ( ) ) wiki_key = to_mongo_key ( wname ) node . wiki_private_uuids [ wiki_key ] = private_uuid node . save ( ) return private_uuid
generate private uuid for internal use in sharejs namespacing .