From 778ad0e2bbfe60db32df460590e0c3596fdf1aa5 Mon Sep 17 00:00:00 2001 From: Aravinda VK Date: Mon, 12 Jun 2017 11:05:27 +0530 Subject: 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 Reviewed-on: https://review.gluster.org/17503 NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Smoke: Gluster Build System Reviewed-by: Kotresh HR --- geo-replication/syncdaemon/configinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'geo-replication/syncdaemon') 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 -- cgit