Skip to content

Commit ccdd8b7

Browse files
committed
FIX: Remove file from print() calls for py2 compatibility
1 parent f5c45a2 commit ccdd8b7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

wrapper/nibabies_wrapper.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -552,19 +552,17 @@ def main():
552552
if check == -1:
553553
print(
554554
"nibabies: Could not find %s command... Is it installed?" % opts.service,
555-
file=sys.stderr,
556555
)
557556
else:
558557
print(
559558
"nibabies: Make sure you have permission to run '%s'" % opts.service,
560-
file=sys.stderr,
561559
)
562560
return 1
563561

564562
if not container.check_image(opts.image):
565563
resp = "Y"
566564
if opts.service == "singularity":
567-
print("Singularity image must already exist locally.", file=sys.stderr)
565+
print("Singularity image must already exist locally.")
568566
return 1
569567
try:
570568
resp = input(MISSING.format(opts.image))

0 commit comments

Comments
 (0)