Skip to content

Commit 24d75fd

Browse files
authored
Remove debug (#274)
1 parent 9531579 commit 24d75fd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/sinol_make/helpers/oicompare.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ def compare(file1_path: str, file2_path: str) -> bool:
7171
"""
7272
Compare two files in the same way as oicompare does. Returns True if the files are the same, False otherwise.
7373
"""
74-
print("start")
7574
with open(file1_path, "r") as file1, open(file2_path, "r") as file2:
7675
eof1 = False
7776
eof2 = False
@@ -85,7 +84,6 @@ def compare(file1_path: str, file2_path: str) -> bool:
8584
except StopIteration:
8685
eof2 = True
8786

88-
print(eof1, eof2)
8987
if eof1 and eof2:
9088
return True
9189
if eof1:
@@ -94,7 +92,6 @@ def compare(file1_path: str, file2_path: str) -> bool:
9492
line2 = _strip(next(file2))
9593
except StopIteration:
9694
eof2 = True
97-
print("xd")
9895
break
9996
elif eof2:
10097
while line1 == "":
@@ -108,7 +105,6 @@ def compare(file1_path: str, file2_path: str) -> bool:
108105

109106
if eof1 and eof2:
110107
return True
111-
# print(f'"{line1}" "{line2}" {eof1=} {eof2=}')
112108
if (eof1 and line2 == "") or (eof2 and line1 == ""):
113109
continue
114110
if (eof1 and line2 != "") or (eof2 and line1 != ""):

0 commit comments

Comments
 (0)