#NEWLINE# def _conf_changed( self , arg ) : #NEWLINE# #INDENT# '\n        internal callback. from control-spec:\n\n        4.1.18. Configuration changed\n\n          The syntax is:\n             StartReplyLine *(MidReplyLine) EndReplyLine\n\n             StartReplyLine = "650-CONF_CHANGED" CRLF\n             MidReplyLine = "650-" KEYWORD ["=" VALUE] CRLF\n             EndReplyLine = "650 OK"\n\n          Tor configuration options have changed (such as via a SETCONF or\n          RELOAD signal). KEYWORD and VALUE specify the configuration option\n          that was changed.  Undefined configuration options contain only the\n          KEYWORD.\n        ' #NEWLINE# conf = parse_keywords ( arg , multiline_values = False ) #NEWLINE# for ( k , v ) in conf . items ( ) : #NEWLINE# #INDENT# real_name = self . _find_real_name ( k ) #NEWLINE# if ( real_name in self . parsers ) : #NEWLINE# #INDENT# v = self . parsers [ real_name ] . parse ( v ) #NEWLINE# #UNINDENT# self . config [ conf ] = v