Skip to content

Commit a9a572a

Browse files
committed
removed extra blank line lol
1 parent 8a92010 commit a9a572a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

nibabel/cmdline/diff.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,19 +151,20 @@ def main():
151151
diff = get_headers_diff(files, opts)
152152

153153
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="")
155155

156156
for f in files:
157-
print("{:<45}".format(f), end="", flush=True)
158-
print("\n")
157+
print("{:<45}".format(f), end="")
158+
print()
159159

160160
for x in diff:
161-
print("{:<11}".format(x), end="", flush=True)
161+
print("{:<11}".format(x), end="")
162162

163163
for e in diff[x]:
164-
print("{:<45}".format(e), end="", flush=True)
164+
print("{:<45}".format(e), end="")
165165

166-
print("\n")
166+
print()
167+
raise SystemExit(1)
167168

168169
# elif opts.json:
169170
# print(json_tricks.dumps(diff, conv_str_byte=True))

0 commit comments

Comments
 (0)