jenkins-bot has submitted this change and it was merged.
Change subject: archivebot.py: accept namespaces in Unicode strings in Python 2
......................................................................
archivebot.py: accept namespaces in Unicode strings in Python 2
Follows up be7fd6c4
Change-Id: Ib2b89d6a2190c20e0aa29bb86a0fb13740af4a25
---
M scripts/archivebot.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
XZise: Looks good to me, approved
Ladsgroup: Looks good to me, but someone else must approve
jenkins-bot: Verified
diff --git a/scripts/archivebot.py b/scripts/archivebot.py
index d98ceca..c76ddde 100644
--- a/scripts/archivebot.py
+++ b/scripts/archivebot.py
@@ -226,7 +226,7 @@
else:
title = re.escape(title)
- return re.compile(r'(?:(?:{0}):){1}{2}'.format(u'|'.join(ns), marker,
title))
+ return re.compile(r'(?:(?:%s):)%s%s' % (u'|'.join(ns), marker,
title))
class TZoneUTC(datetime.tzinfo):
--
To view, visit
https://gerrit.wikimedia.org/r/197305
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2b89d6a2190c20e0aa29bb86a0fb13740af4a25
Gerrit-PatchSet: 3
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Whym <whym(a)whym.org>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhallasw(a)arctus.nl>
Gerrit-Reviewer: Ricordisamoa <ricordisamoa(a)openmailbox.org>
Gerrit-Reviewer: Whym <whym(a)whym.org>
Gerrit-Reviewer: XZise <CommodoreFabianus(a)gmx.de>
Gerrit-Reviewer: jenkins-bot <>