diff --git a/services/Python2To3Migrator.py b/services/Python2To3Migrator.py index cf42412..1e5ae43 100644 --- a/services/Python2To3Migrator.py +++ b/services/Python2To3Migrator.py @@ -78,7 +78,8 @@ def run_generation(self, retriever, llm, output_parser, clone_dir) -> None: if file_parsed is not None: migrated_content = file_parsed.group(1) f = open(clone_dir + file, "w") - f.write(migrated_content) + written = f.write(migrated_content) + print("File written: {}, size: {}".format(clone_dir + file, written)) f.close() else: print("File parsing failure")