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: else:
result = dict(dest=dest, src=source, changed=changed) result = dict(dest=dest, src=source, changed=changed)
if len(diffs) == 1: if diffs:
result['diff'] = diffs[0] result['diff'] = diffs
return result return result

Loading…
Cancel
Save