]> code.communitydata.science - mediawiki_dump_tools.git/blobdiff - wikiq
validate tests and add asserts and baselines for regex tests.
[mediawiki_dump_tools.git] / wikiq
diff --git a/wikiq b/wikiq
index 7a1b846dc08f2f86ff292ceae694ff55ef9a7382..6a1ada5cccee93edc9ae4c96f374542b1b4ba118 100755 (executable)
--- a/wikiq
+++ b/wikiq
@@ -80,7 +80,7 @@ def matchmake(scanned_content, rev_data, regex, label):
             temp_dict[label] = None    
     # update rev_data with our new columns
     rev_data.update(temp_dict)
-    print(rev_data.keys())
+#    print(rev_data.keys())
     return rev_data
 
 
@@ -243,7 +243,7 @@ class WikiqParser():
                 if namespace not in self.namespace_filter:
                     continue
 
-            print(self.revert_radius)
+#            print(self.revert_radius)
             rev_detector = mwreverts.Detector(radius = self.revert_radius)
 
 

Community Data Science Collective || Want to submit a patch?