Page MenuHomePhabricator

botlist.patch

Authored By
bzimport
Nov 22 2014, 2:31 AM
Size
697 B
Referenced Files
None
Subscribers
None

botlist.patch

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

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
11909
Default Alt Text
botlist.patch (697 B)

Event Timeline