From 8ac5926d11cb66c7ef226bb466604414593bab87 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Mon, 18 Apr 2011 17:21:22 +0000 Subject: syncdaemon: pythonize accidentally copied ruby line in code Signed-off-by: Csaba Henk Signed-off-by: Anand Avati BUG: 2791 (trying to set up geo-replication with a gluster slave on the LAN screws up geo-rep irrecoverably) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2791 --- xlators/features/marker/utils/syncdaemon/resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/features/marker/utils/syncdaemon/resource.py b/xlators/features/marker/utils/syncdaemon/resource.py index 07508c73c..777ff5999 100644 --- a/xlators/features/marker/utils/syncdaemon/resource.py +++ b/xlators/features/marker/utils/syncdaemon/resource.py @@ -33,7 +33,7 @@ def desugar(ustr): elif '@' in m.groups()[0] or re.search('[:/]', m.groups()[1]): return "ssh://" + ustr else: - return "gluster://#{str}" + return "gluster://" + ustr else: if ustr[0] != '/': raise RuntimeError("cannot resolve sugared url '%s'" % ustr) -- cgit