scripts/lnr: update for python3
PATCH 1/1 scripts/lnr: update for python3
Change shebang line to python3 and add parentheses to print
Signed-off-by Allen Wild <[email protected]>
--- scripts/lnr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/lnr +2 -2
@@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # Create a *relative* symlink, just like ln --relative does but without needing # coreutils 8.16.
@@ -6,7 +6,7 @@ import sys, os if len(sys.argv) != 3: - print "$ lnr TARGET LINK_NAME" + print("$ lnr TARGET LINK_NAME") sys.exit(1) target = sys.argv[1]
Signature · 1 line
2.8.3