added suport rsync protocol (#12197)

* added suport rsync protocol

* use startswith method for safety
pull/15340/head
peter.jang 8 years ago committed by Brian Coca
parent d29b833cb1
commit 65856f2231

@ -51,6 +51,10 @@ class ActionModule(ActionBase):
''' formats rsync rsh target, escaping ipv6 addresses if needed '''
user_prefix = ''
if path.startswith('rsync://'):
return path
if user:
user_prefix = '%s@' % (user, )

Loading…
Cancel
Save