From cdfa77d66ddc5b0af9fad3b30da7bbe2530ce3bc Mon Sep 17 00:00:00 2001 From: Nathan TeBlunthuis Date: Mon, 11 Nov 2019 11:28:48 -0800 Subject: [PATCH 1/1] remove commented code --- wikiq | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wikiq b/wikiq index 7e75eda..0543a33 100755 --- a/wikiq +++ b/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) @@ -183,7 +183,6 @@ class RegexPair(object): rev_data.update(temp_dict) 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): -- 2.39.5