diff options
Diffstat (limited to 'xlators/features/marker/utils/syncdaemon/resource.py')
-rw-r--r-- | xlators/features/marker/utils/syncdaemon/resource.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/resource.py b/xlators/features/marker/utils/syncdaemon/resource.py index 777ff599999..7db7d5bb40f 100644 --- a/xlators/features/marker/utils/syncdaemon/resource.py +++ b/xlators/features/marker/utils/syncdaemon/resource.py @@ -255,6 +255,7 @@ class AbstractUrl(object): self.path = path return m.groups() + @property def scheme(self): return type(self).__name__.lower() @@ -266,7 +267,7 @@ class AbstractUrl(object): pa = self.canonical_path() else: pa = self.path - u = "://".join((self.scheme(), pa)) + u = "://".join((self.scheme, pa)) if escaped: u = syncdutils.escape(u) return u |