path: root/geo-replication/syncdaemon
diff options
authorAravinda VK <>2013-11-07 12:52:23 +0530
committerVijay Bellur <>2014-02-02 20:26:40 -0800
commitab55d60e2615bd47a9b7ad3da4e85ba1be4c3781 (patch)
tree90a39754dfa53fbc7a15618e7817f687963b3e6f /geo-replication/syncdaemon
parent52e98957da62168adcdc33782b027fa35b9d283e (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. BUG: 1036539 Change-Id: Ie3226e4a75cbff9e69ad2d7cb5f4daf45c6ae0c8 Signed-off-by: Aravinda VK <> Reviewed-on: Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Venky Shankar <>
Diffstat (limited to 'geo-replication/syncdaemon')
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()