Skip to content
Snippets Groups Projects
Commit ea5b0e71 authored by Maxime Bombar's avatar Maxime Bombar
Browse files

Use ansible before/after convention for diff

parent 80604fc2
No related branches found
No related tags found
1 merge request!144Use ansible before/after convention for diff
......@@ -150,7 +150,7 @@ class ActionModule(ActionBase):
except urllib.error.HTTPError: # We will create the page.
raw = ""
diff = difflib.unified_diff(raw.splitlines(), content.splitlines(), fromfile="old", tofile="new", lineterm="")
diff = difflib.unified_diff(raw.splitlines(), content.splitlines(), fromfile="before", tofile=f"after: {url}", lineterm="")
i=0
# Display any change
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment