remove commented code
This commit is contained in:
parent
02b3250a36
commit
cdfa77d66d
3
wikiq
3
wikiq
@ -144,7 +144,7 @@ class RegexPair(object):
|
||||
temp_dict = {}
|
||||
# if there are named capture groups in the regex
|
||||
if self.has_groups:
|
||||
# initialize the {capture_group_name:list} for each capture group
|
||||
|
||||
# if there are matches of some sort in this revision content, fill the lists for each cap_group
|
||||
if self.pattern.search(content) is not None:
|
||||
m = self.pattern.finditer(content)
|
||||
@ -184,7 +184,6 @@ class RegexPair(object):
|
||||
return rev_data
|
||||
|
||||
|
||||
|
||||
class WikiqParser():
|
||||
def __init__(self, input_file, output_file, regex_match_revision, regex_match_comment, regex_revision_label, regex_comment_label, collapse_user=False, persist=None, urlencode=False, namespaces = None, revert_radius=15):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user