#NEWLINE# def tenant_create( request , name , description = None , enabled = None , domain = None ) : #NEWLINE# #INDENT# manager = VERSIONS . get_project_manager ( request , admin = True ) #NEWLINE# if ( VERSIONS . active < 3 ) : #NEWLINE# #INDENT# return manager . create ( name , description , enabled ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return manager . create ( name , domain , description = request , enabled = enabled )