From 6ee9206b796a868ae34a508cbd4014caef9bb07d Mon Sep 17 00:00:00 2001
From: Mathieu Loiseau <mathieu.loiseau@liris.cnrs.fr>
Date: Wed, 21 Jun 2023 17:07:13 +0200
Subject: [PATCH] remove debug prints

---
 wikstraktor.py     |   4 ----
 wikstraktor.sqlite | Bin 49152 -> 53248 bytes
 2 files changed, 4 deletions(-)

diff --git a/wikstraktor.py b/wikstraktor.py
index 9d1918d..9d0a2df 100755
--- a/wikstraktor.py
+++ b/wikstraktor.py
@@ -358,7 +358,6 @@ class Sense(SubInfo):
 				res["Translations"].append(t.serializable(prefix))
 		if len(self.subsenses) > 0:
 			res["Subsenses"] = {}
-			print("subsenses", self.label, len(self.subsenses))##
 			for t in self.subsenses:
 				res["Subsenses"][t.set_id(self.label)]= t.serializable(prefix)
 		return res
@@ -467,7 +466,6 @@ class Entry:
 				src = s.get_src_from_id()
 				if src != None and src_map[src] != src:
 					s.replace_src_in_id(src, src_map[src])
-					print(s.label, len(s.subsenses))##
 					for ss in s.subsenses:
 						ss.replace_src_in_id(src, src_map[src])
 						for d in ss.definitions:
@@ -476,7 +474,6 @@ class Entry:
 							e.replace_src_in_id(src, src_map[src])
 						for t in ss.translations:
 							t.replace_src_in_id(src, src_map[src])
-					print(s.label, len(s.subsenses))##
 					for d in s.definitions:
 						d.replace_src_in_id(src, src_map[src])
 					for e in s.examples:
@@ -890,7 +887,6 @@ if __name__ == "__main__":
 						resp = w
 					else:
 						resp += w
-		print(resp != None)
 		if resp != None :
 			resp = resp.export(not args.no_id, args.force_ascii, args.compact)
 		if args.destination_file != None:
diff --git a/wikstraktor.sqlite b/wikstraktor.sqlite
index c35b2bb7c4efb8fb7db535875b7336a3d712ec59..a41143a79f6220cd37a258a2b105deb621a15baf 100644
GIT binary patch
delta 410
zcmZo@U~X8zJVBauI|Bm)??eTA#_byumhj7P@t*<;F!1vK=Kse3k^c?<bN)yCclfXI
zU*JErSy5muKQm9G$>t04CKJ>I8RjwYi}4xqy7MG)S8z?{T*+~S{TAC-Hf~lm78~Yp
zrd-AjhItbUOIRAy8cilUY!PEOwK6cXGPIZ+xKwBIgIz$eVD8B$wj|0Ka~a193W~FY
zHYOVx7#ZstnCTiBDj1?FpUr3lGsM)&#1O*}L!5>nDWARBe#=4bNfTH&nD`7C_@(&_
zHx{b$fm~<?GF%^QrLkd>rFoiZa<WNEVv?D8s)41crKv$;N>Xxas&T4?sj*o~VzQxG
aT3XuVgS(fwnc}qA%!(wVEG94CngRf;|9yY}

delta 112
zcmV-$0FVEGpaXz_1CSd9u>b%743Qu|0kN@Qqz@Vi56}Pr000aR`w#XH@ek||=MUl!
z+z-|d(6b>BtPhb;3A585F_0b&1Uvu_77j5DM+{;McnXsVsR+ae+6MIo3k4<wJh5>a
S1O$O*fiRPCvKF&ew5kiEvm-bF

-- 
GitLab