summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-04-18 17:21:22 +0000
committerAnand Avati <avati@gluster.com>2011-04-19 02:29:59 -0700
commit8ac5926d11cb66c7ef226bb466604414593bab87 (patch)
treef7a8e698c2bb922b5086435f48b5033d5dd2dd3c /xlators/features
parent7280a000aaea2d6c6294a82f64a626714cbe2702 (diff)
syncdaemon: pythonize accidentally copied ruby line in code
Signed-off-by: Csaba Henk <csaba@lowlife.hu> Signed-off-by: Anand Avati <avati@gluster.com> 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
Diffstat (limited to 'xlators/features')
-rw-r--r--xlators/features/marker/utils/syncdaemon/resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/resource.py b/xlators/features/marker/utils/syncdaemon/resource.py
index 07508c73cfe..777ff599999 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)