#NEWLINE# def updateController( self , controller ) : #NEWLINE# #INDENT# ' updateController() -> None        \n        Based on the input of the python editor, update the vistrail\n        controller appropriately\n        \n        ' #NEWLINE# if self . codeEditor . document ( ) . isModified ( ) : #NEWLINE# #INDENT# code = urllib . quote ( str ( self . codeEditor . toPlainText ( ) ) ) #NEWLINE# functions = [ ( 'Handler' , [ code ] ) ] #NEWLINE# self . controller . update_functions ( self . module , functions )