File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ def compare(file1_path: str, file2_path: str) -> bool:
71
71
"""
72
72
Compare two files in the same way as oicompare does. Returns True if the files are the same, False otherwise.
73
73
"""
74
- print ("start" )
75
74
with open (file1_path , "r" ) as file1 , open (file2_path , "r" ) as file2 :
76
75
eof1 = False
77
76
eof2 = False
@@ -85,7 +84,6 @@ def compare(file1_path: str, file2_path: str) -> bool:
85
84
except StopIteration :
86
85
eof2 = True
87
86
88
- print (eof1 , eof2 )
89
87
if eof1 and eof2 :
90
88
return True
91
89
if eof1 :
@@ -94,7 +92,6 @@ def compare(file1_path: str, file2_path: str) -> bool:
94
92
line2 = _strip (next (file2 ))
95
93
except StopIteration :
96
94
eof2 = True
97
- print ("xd" )
98
95
break
99
96
elif eof2 :
100
97
while line1 == "" :
@@ -108,7 +105,6 @@ def compare(file1_path: str, file2_path: str) -> bool:
108
105
109
106
if eof1 and eof2 :
110
107
return True
111
- # print(f'"{line1}" "{line2}" {eof1=} {eof2=}')
112
108
if (eof1 and line2 == "" ) or (eof2 and line1 == "" ):
113
109
continue
114
110
if (eof1 and line2 != "" ) or (eof2 and line1 != "" ):
You can’t perform that action at this time.
0 commit comments