Remove unnecessary re-conversion to list(revs)
Signed-off-by: Will Beason <willbeason@gmail.com>
This commit is contained in:
parent
3e8ae205e8
commit
84d464ea38
2
wikiq
2
wikiq
@ -388,7 +388,7 @@ class WikiqParser:
|
|||||||
revs = list(revs)
|
revs = list(revs)
|
||||||
revs = fix_hex_digests(revs)
|
revs = fix_hex_digests(revs)
|
||||||
|
|
||||||
table.add(page.mwpage, list(revs))
|
table.add(page.mwpage, revs)
|
||||||
|
|
||||||
# if re.match(r'^#redirect \[\[.*\]\]', rev.text, re.I):
|
# if re.match(r'^#redirect \[\[.*\]\]', rev.text, re.I):
|
||||||
# redirect = True
|
# redirect = True
|
||||||
|
Loading…
Reference in New Issue
Block a user