Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F12457
botlist.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 22 2014, 2:31 AM
2014-11-22 02:31:21 (UTC+0)
Size
697 B
Referenced Files
None
Subscribers
None
botlist.patch
View Options
Index: botlist.py
===================================================================
--- botlist.py (Revision 8976)
+++ botlist.py (Arbeitskopie)
@@ -93,10 +93,10 @@
m1 = re.findall(u'<li>.*?</li>', text)
for item in m1:
- m2 = re.search(u'<li>(.*?)\((.*?),\s(.*?)\)</li>', item)
- (bot, flag_local, flag_global) = m2.groups()
+ m2 = re.search(u'<li>(.*?)\((.*?),\s(.*?)\)(.*?)</li>', item)
+ (bot, flag_local, flag_global, auth) = m2.groups()
- bot = bot[:-2]
+ bot = bot[:-1]
flag_local = (flag_local[:2] == u'<a')
flag_global = True # since group='Global_bot'
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
11909
Default Alt Text
botlist.patch (697 B)
Attached To
Mode
T57673: Migrate "DrTrigon's tools" (pywikibot/bots/drtrigonbot) bugs from JIRA (TS) to Bugzilla (set up product etc)
Attached
Detach File
Event Timeline
Log In to Comment