#NEWLINE# def __init__( self , zkclient , pool = None ) : #NEWLINE# #INDENT# super ( ZookeeperServiceRegistry , self ) . __init__ ( pool = pool ) #NEWLINE# self . client = zkclient #NEWLINE# if ( not self . client . chroot ) : #NEWLINE# #INDENT# self . client . chroot = DEFAULT_CHROOT #NEWLINE# #UNINDENT# self . client . add_listener ( self . on_kazoo_state_change ) #NEWLINE# self . start_count = 0 #NEWLINE# self . registered_names = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# }