copy now passes a list of diffs

pull/11975/head
Brian Coca 9 years ago
parent c3372936aa
commit 79ea6d3a1e

@ -268,8 +268,8 @@ class ActionModule(ActionBase):
else:
result = dict(dest=dest, src=source, changed=changed)
if len(diffs) == 1:
result['diff'] = diffs[0]
if diffs:
result['diff'] = diffs
return result

Loading…
Cancel
Save