|
|
@ -88,8 +88,12 @@ for x in items:
|
|
|
|
params[k] = v
|
|
|
|
params[k] = v
|
|
|
|
|
|
|
|
|
|
|
|
state = params.get('state','file')
|
|
|
|
state = params.get('state','file')
|
|
|
|
path = os.path.expanduser(params.get('path', params.get('dest', params.get('name', None))))
|
|
|
|
path = params.get('path', params.get('dest', params.get('name', None)))
|
|
|
|
src = os.path.expanduser(params.get('src', None))
|
|
|
|
if path:
|
|
|
|
|
|
|
|
path = os.path.expanduser(path)
|
|
|
|
|
|
|
|
src = params.get('src', None)
|
|
|
|
|
|
|
|
if src:
|
|
|
|
|
|
|
|
path = os.path.expanduser(src)
|
|
|
|
dest = params.get('dest', None)
|
|
|
|
dest = params.get('dest', None)
|
|
|
|
mode = params.get('mode', None)
|
|
|
|
mode = params.get('mode', None)
|
|
|
|
owner = params.get('owner', None)
|
|
|
|
owner = params.get('owner', None)
|
|
|
|