Carlos-Francisco Méndez-Cruz

Transform soft file in XML file

...@@ -85,7 +85,7 @@ if __name__ == "__main__": ...@@ -85,7 +85,7 @@ if __name__ == "__main__":
85 content = content.replace(">", ">") 85 content = content.replace(">", ">")
86 content = content.replace(""", "\"") 86 content = content.replace(""", "\"")
87 content = content.replace("'", "\'") 87 content = content.replace("'", "\'")
88 - print("\nSerie: {}\tSample: {}\tTag: {}\tContent: {}".format(serie, sample, tag, content.encode(encoding='utf-8', errors='replace'))) 88 + #print("\nSerie: {}\tSample: {}\tTag: {}\tContent: {}".format(serie, sample, tag, content.encode(encoding='utf-8', errors='replace')))
89 if tag in hashGcs[serie][sample]: 89 if tag in hashGcs[serie][sample]:
90 if content in hashGcs[serie][sample][tag]: 90 if content in hashGcs[serie][sample][tag]:
91 print("Duplicated content: {}".format(content.encode(encoding='utf-8', errors='replace'))) 91 print("Duplicated content: {}".format(content.encode(encoding='utf-8', errors='replace')))
......