summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-02-14 11:19:25 +0000
committerAnand V. Avati <avati@dev.gluster.com>2011-02-14 14:02:30 -0800
commit0cc73c92734acc86cb559fc2d3b3ee8c834e5f63 (patch)
tree95da4b0acc008ed9fffd1cd80184a877fc19d4c4
parent653a46850d765ca00a76452c76950ed60ab967d3 (diff)
syncdaemon: fix KeyError
Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1570 (geosync related changes) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570
-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 60e32e0dc42..afafd54143a 100644
--- a/xlators/features/marker/utils/syncdaemon/resource.py
+++ b/xlators/features/marker/utils/syncdaemon/resource.py
@@ -400,7 +400,7 @@ class SSH(AbstractUrl, SlaveRemote):
return False
def start_fd_client(self, *a, **opts):
- if opts['deferred']:
+ if opts.get('deferred'):
return a
sup(self, *a)
ityp = type(self.inner_rsc)