summaryrefslogtreecommitdiffstats
path: root/geo-replication
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2017-06-12 11:05:27 +0530
committerAravinda VK <avishwan@redhat.com>2017-06-13 06:09:05 +0000
commit778ad0e2bbfe60db32df460590e0c3596fdf1aa5 (patch)
tree42612b886a0fd5736bab31beb1181e483c37cfb9 /geo-replication
parent7674584fa53944a4e982e217798f31a3d1ef313b (diff)
geo-rep: Fix string format issue caused due to #17489
With Patch #17489, values from Geo-rep config always represented as Unicode string, which is not compatible with rest of the code. Changed the format with this patch to fix the issue. BUG: 1459620 Change-Id: I935fca0d24f02e90757f688f92ef73fad9f9b8e1 Signed-off-by: Aravinda VK <avishwan@redhat.com> Reviewed-on: https://review.gluster.org/17503 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'geo-replication')
-rw-r--r--geo-replication/syncdaemon/configinterface.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/geo-replication/syncdaemon/configinterface.py b/geo-replication/syncdaemon/configinterface.py
index 95c153ec7e2..a59dee7a4a6 100644
--- a/geo-replication/syncdaemon/configinterface.py
+++ b/geo-replication/syncdaemon/configinterface.py
@@ -340,7 +340,7 @@ class GConffile(object):
# Template expects String to be passed
# if any config value is not string then it
# fails with ValueError
- v = u"{0}".format(v)
+ v = "{0}".format(v)
if k == '__name__':
continue