Puts parens in print call, for python3 compatibility.

This commit is contained in:
Christophe Biocca
2014-09-23 16:17:50 -04:00
parent f521f4c2d4
commit 26800752b4

View File

@@ -299,7 +299,7 @@ function vcs_commit_git() {
function vcs_relative_path() {
# Usage: vcs_relative_path file
local name="$1"
python -c 'import os ; print os.path.relpath("'$(pwd -P)'/'"$name"'", "'"$REPOBASE"'")'
python -c 'import os ; print(os.path.relpath("'$(pwd -P)'/'"$name"'", "'"$REPOBASE"'"))'
}