Merge pull request #17 from christophebiocca/fix-python

Puts parens in print call, for python3 compatibility.
This commit is contained in:
Tom Limoncelli
2014-09-25 19:49:44 -04:00

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"'"))'
}