phunt/zktop — pull request #6 by kwilczynski (2013-03-19 04:16:31+00:00)
Title: Make reading of the ZooKeeper configuration file more resilient.

This is to fix the following problem:

Traceback (most recent call last):
File "zktop.py", line 351, in
ui = Main(get_zk_servers(options.configfile))
File "zktop.py", line 341, in get_zk_servers
config = read_zk_config(options.configfile)
File "zktop.py", line 337, in read_zk_config
return config
UnboundLocalError: local variable 'config' referenced before assignment

Signed-off-by: Krzysztof Wilczynski