diff options
Diffstat (limited to 'geo-replication/syncdaemon/master.py')
| -rw-r--r-- | geo-replication/syncdaemon/master.py | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/geo-replication/syncdaemon/master.py b/geo-replication/syncdaemon/master.py index 645f77524f0..c35ae8d2239 100644 --- a/geo-replication/syncdaemon/master.py +++ b/geo-replication/syncdaemon/master.py @@ -62,7 +62,8 @@ def gmaster_builder(excrawl=None):      modemixin = gconf.special_sync_mode      if not modemixin:          modemixin = 'normal' -    changemixin = isinstance(excrawl, str) and excrawl or gconf.change_detector +    changemixin = 'xsync' if gconf.change_detector == 'xsync' \ +                  else excrawl or gconf.change_detector      logging.info('setting up %s change detection mode' % changemixin)      modemixin = getattr(this, modemixin.capitalize() + 'Mixin')      crawlmixin = getattr(this, 'GMaster' + changemixin.capitalize() + 'Mixin')  | 
