Xqt has uploaded a new change for review. https://gerrit.wikimedia.org/r/95156
Change subject: [PEP8] pep8 changes ...................................................................... [PEP8] pep8 changes Change-Id: I9516513348b78e6908f703d797743fb666664b44 --- M blockreview.py 1 file changed, 3 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/compat refs/changes/56/95156/1 diff --git a/blockreview.py b/blockreview.py index 3951af1..43edc48 100644 --- a/blockreview.py +++ b/blockreview.py @@ -26,6 +26,7 @@ import userlib import query + class BlockreviewBot: # notes note_admin = { @@ -136,7 +137,7 @@ for sysop in gen: print sysop.title() - talkText = talkText.replace(u'{{%s}}' % unblock_tpl, + talkText = talkText.replace(u'{{%s}}' % unblock_tpl, u'{{%s|2}}' % unblock_tpl) talkText = talkText.replace(u'{{%s|1}}' % unblock_tpl, u'{{%s|2}}' % unblock_tpl) @@ -155,7 +156,7 @@ '[[WP:BA#SPP-Bot|SPPB-Test]]') else: # nicht blockiert. Fall auf DS abschließen - talkText = talkText.replace(u'{{%s}}' % unblock_tpl, + talkText = talkText.replace(u'{{%s}}' % unblock_tpl, u'{{%s|4}}' % unblock_tpl) talkText = talkText.replace(u'{{%s|1}}' % unblock_tpl, u'{{%s|4}}' % unblock_tpl) -- To view, visit https://gerrit.wikimedia.org/r/95156 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9516513348b78e6908f703d797743fb666664b44 Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/compat Gerrit-Branch: master Gerrit-Owner: Xqt <i...@gno.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits