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

Merge branch 'moinmoin_gendoc' into 'newinfra'

Use ansible before/after convention for diff

See merge request !144
parents 80604fc2 ea5b0e71
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