From edfb62b94620cfa31406ffbf3c1b04360872ee66 Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 20 Dec 2008 15:50:33 +0000 Subject: [PATCH] update for mediawiki 1.13 that insists on adding new lines git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5873 212acab6-be3b-0410-9dea-997c60f758d6 --- Scripts/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/release.py b/Scripts/release.py index a57f0fdb..b25834f5 100644 --- a/Scripts/release.py +++ b/Scripts/release.py @@ -408,7 +408,7 @@ def UpdateWiki(release_id): post += '&su_data=' + urllib.quote(data) post += '&su_summary=' + urllib.quote(summary) - if urllib.urlopen(UPDATE_URL, post).read() != 'success': + if urllib.urlopen(UPDATE_URL, post).read().strip() != 'success': log('*** failed updating `%s` wiki page' % page) print ' *** failed updating `%s` wiki page' % page