summaryrefslogtreecommitdiffstats
path: root/gd_diff.py
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2017-02-09 02:43:27 +0000
committerrsiddharth <s@ricketyspace.net>2017-02-09 02:43:27 +0000
commitf7acfb0f4279c78a303a9e6f2c5a38fd5334e0f7 (patch)
treed724df07a6c41311147b449b4467f04907d30579 /gd_diff.py
parent4fd774d0ff89f8917edb26803cb3bcace5b1d42d (diff)
Fix wiki page path string generation `push_wiki_page`.
The argument `version` is an integer; this is now converted to a string when generating the wiki page path string. * gd_diff.py (push_wiki_page): Update function.
Diffstat (limited to 'gd_diff.py')
-rw-r--r--gd_diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gd_diff.py b/gd_diff.py
index 6f3c0e3..2e0aed9 100644
--- a/gd_diff.py
+++ b/gd_diff.py
@@ -459,7 +459,7 @@ def push_wiki_page(url, user, passwd, version, content):
print('wiki page not updated.')
- page = '/'.join(['Documentation', version, 'DifferencesWithDebian'])
+ page = '/'.join(['Documentation', str(version), 'DifferencesWithDebian'])
mc = get_wiki_mc(url, user, passwd)
mc.putPage(page, content)