#NEWLINE# def bootstrap( self , arg = None ) : #NEWLINE# #INDENT# "\n        This only takes args so it can be used as a callback. Don't\n        pass an arg, it is ignored.\n        " #NEWLINE# try : #NEWLINE# #INDENT# self . protocol . add_event_listener ( 'CONF_CHANGED' , arg . _conf_changed ) #NEWLINE# #UNINDENT# except RuntimeError : #NEWLINE# #INDENT# log . msg ( "Can't listen for CONF_CHANGED event; won't stay up-to-date with other clients." ) #NEWLINE# #UNINDENT# d = self . protocol . get_info_raw ( 'config/names' ) #NEWLINE# d . addCallback ( self . _do_setup ) #NEWLINE# d . addCallback ( self . do_post_bootstrap ) #NEWLINE# d . addErrback ( self . do_post_errback )