#NEWLINE# def create_user( self , user ) : #NEWLINE# #INDENT# '\n        Create a project\n        POST $base/users.xml\n        ' #NEWLINE# url = ( '%s/users.xml' % self . base ) #NEWLINE# ( response , content ) = self . _request ( url , 'POST' , user . to_xml ( ) ) #NEWLINE# if ( response . status == 201 ) : #NEWLINE# #INDENT# new_user = RedmineUser ( None ) #NEWLINE# new_user . parse ( content ) #NEWLINE# return new_user . get_element ( 'id' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return None