jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/337278 )
Change subject: archivebot.py: do not encode key twice ......................................................................
archivebot.py: do not encode key twice
Change-Id: I530e986f591dd8fbb7c0310f408d8d3b4c5e211c --- M scripts/archivebot.py 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/scripts/archivebot.py b/scripts/archivebot.py index 8adb204..e664952 100755 --- a/scripts/archivebot.py +++ b/scripts/archivebot.py @@ -553,8 +553,7 @@
def key_ok(self): """Return whether key is valid.""" - hexdigest = calc_md5_hexdigest(self.page.title().encode('utf8'), - self.salt) + hexdigest = calc_md5_hexdigest(self.page.title(), self.salt) return self.get_attr('key') == hexdigest
def load_config(self):
pywikibot-commits@lists.wikimedia.org