summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/utils/syncdaemon/repce.py
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/marker/utils/syncdaemon/repce.py')
-rw-r--r--xlators/features/marker/utils/syncdaemon/repce.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/repce.py b/xlators/features/marker/utils/syncdaemon/repce.py
index f878d481a6c..aebc8b7d80c 100644
--- a/xlators/features/marker/utils/syncdaemon/repce.py
+++ b/xlators/features/marker/utils/syncdaemon/repce.py
@@ -21,6 +21,7 @@ except ImportError:
import pickle
pickle_proto = -1
+repce_version = 1.0
def ioparse(i, o):
if isinstance(i, int):
@@ -148,3 +149,11 @@ class RepceClient(object):
def __getattr__(self, meth):
return self.mprx(self, meth)
+
+ def __version__(self):
+ d = {'proto': repce_version}
+ try:
+ d['object'] = self('version')
+ except AttributeError:
+ pass
+ return d