commit | d4bb722e50f185e06d57bb3443473687115f0a91 | [log] [tgz] |
---|---|---|
author | lora-sp <lora.spassova@swhk.ids-mannheim.de> | Mon Mar 13 13:55:38 2023 +0100 |
committer | lora-sp <lora.spassova@swhk.ids-mannheim.de> | Mon Mar 13 13:55:38 2023 +0100 |
tree | 716887e68e8be4c034414dee9ad7d603dbcdc704 | |
parent | 435e46716d0e07e344f0ce6c28fa9d2a1d5711a3 [diff] |
remove comments
diff --git a/escape.py b/escape.py index 2f1e9a8..ad1cf26 100644 --- a/escape.py +++ b/escape.py
@@ -4,7 +4,6 @@ def escape(file): with open(sys.argv[i], "r+") as f: - print("opened") file = f.read() file = re.sub('&(?!gt;|apos;|quot;|lt;|amp;)', '&', file) f.seek(0) @@ -20,14 +19,3 @@ #print("sucess") - - -#for i in range(1, len(sys.argv)): -# try: -# ET.parse(sys.argv[i]) -# print("parsed") -# except: -# print("not parsed") -# replace(sys.argv[i]) - -