File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -151,19 +151,20 @@ def main():
151
151
diff = get_headers_diff (files , opts )
152
152
153
153
if opts .text : # using string formatting to print a table of the results
154
- print ("{:<11}" .format ('Field' ), end = "" , flush = True )
154
+ print ("{:<11}" .format ('Field' ), end = "" )
155
155
156
156
for f in files :
157
- print ("{:<45}" .format (f ), end = "" , flush = True )
158
- print (" \n " )
157
+ print ("{:<45}" .format (f ), end = "" )
158
+ print ()
159
159
160
160
for x in diff :
161
- print ("{:<11}" .format (x ), end = "" , flush = True )
161
+ print ("{:<11}" .format (x ), end = "" )
162
162
163
163
for e in diff [x ]:
164
- print ("{:<45}" .format (e ), end = "" , flush = True )
164
+ print ("{:<45}" .format (e ), end = "" )
165
165
166
- print ("\n " )
166
+ print ()
167
+ raise SystemExit (1 )
167
168
168
169
# elif opts.json:
169
170
# print(json_tricks.dumps(diff, conv_str_byte=True))
You can’t perform that action at this time.
0 commit comments