Don't try to functionize getting config
This commit is contained in:
5
pvcd.py
5
pvcd.py
@ -90,10 +90,7 @@ def readConfig(pvcd_config_file, myhostname):
|
|||||||
|
|
||||||
return config
|
return config
|
||||||
|
|
||||||
config = {}
|
# Get config
|
||||||
|
|
||||||
def getConfig():
|
|
||||||
global config
|
|
||||||
config = readConfig(pvcd_config_file, myhostname)
|
config = readConfig(pvcd_config_file, myhostname)
|
||||||
|
|
||||||
# Connect to local zookeeper
|
# Connect to local zookeeper
|
||||||
|
Reference in New Issue
Block a user