path: root/geo-replication
diff options
authorAravinda VK <>2013-11-07 12:52:23 +0530
committerVijay Bellur <>2014-01-23 09:45:30 -0800
commited2da47115fa9394357fd290894d1a1efc2ad750 (patch)
treeda7703fde0c971fd3008aeffc9e62d00e31f74c0 /geo-replication
parenta0fbd41d2b10829503df1826bf2c98dc347de739 (diff)
geo-rep: get new config value after config value reset
When is called it preserves the previous values from the the previously opened config file. For example import ConfigParser config = ConfigParser.RawConfigParser()"defaults.conf")"preferences.conf") When change in config file is identified it will open new instance of config to avoid getting old config values. Change-Id: Iec677e61ebd2c59c95aea94481f569d78bd913e4 Signed-off-by: Aravinda VK <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Vijay Bellur <>
Diffstat (limited to 'geo-replication')
1 files changed, 1 insertions, 0 deletions
diff --git a/geo-replication/syncdaemon/ b/geo-replication/syncdaemon/
index 0f764c47a..8353c1161 100644
--- a/geo-replication/syncdaemon/
+++ b/geo-replication/syncdaemon/
@@ -82,6 +82,7 @@ class GConffile(object):
if sys.exc_info()[1].errno == errno.ENOENT:
sres = None
+ self.config = ConfigParser.RawConfigParser()