#NEWLINE# def update_issue( self , id , issue , as_user = None ) : #NEWLINE# #INDENT# '\n        Update an issue\n        PUT $base/issues/$id.xml\n        ' #NEWLINE# url = ( '%s/issues/%d.xml' % ( self . base , id ) ) #NEWLINE# ( response , content ) = self . _request ( url , 'PUT' , issue . to_xml ( ) , impersonate = as_user ) #NEWLINE# if ( response . status == 200 ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return False