Skip to content

Commit 008ec30

Browse files
authored
print: python2 -> python3
1 parent 473a0e9 commit 008ec30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker2singularity.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# USAGE: docker2singularity.sh ubuntu:14.04
1313
#
1414
#
15-
# Copyright (c) 2016-2019 Vanessa Sochat, All Rights Reserved
15+
# Copyright (c) 2016-2024 Vanessa Sochat, All Rights Reserved
1616
# Copyright (c) 2017 Singularityware LLC and AUTHORS
1717
#
1818
# Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -243,7 +243,7 @@ unset SINGULARITY_MESSAGELEVEL
243243
echo "(4/10) Adding run script..."
244244

245245
function shell_escape () {
246-
python -c 'import json, pipes, sys; print " ".join(pipes.quote(a) for a in json.load(sys.stdin) or [])'
246+
python -c 'import json, pipes, sys; print(" ".join(pipes.quote(a) for a in json.load(sys.stdin) or []))'
247247
}
248248

249249
CMD=$(docker inspect --format='{{json .Config.Cmd}}' $image | shell_escape)

0 commit comments

Comments
 (0)