Merge "Fix keyerror with synchronize" into feature/zuulv3

This commit is contained in:
Jenkins 2017-02-24 19:55:28 +00:00 committed by Gerrit Code Review
commit 531de6938e

View File

@ -26,6 +26,8 @@ class ActionModule(synchronize.ActionModule):
dest = self._task.args.get('dest', None)
mode = self._task.args.get('mode', 'push')
if 'rsync_opts' not in self._task.args:
self._task.args['rsync_opts'] = []
if '--safe-links' not in self._task.args['rsync_opts']:
self._task.args['rsync_opts'].append('--safe-links')