Merge pull request #17 from christophebiocca/fix-python
Puts parens in print call, for python3 compatibility.
This commit is contained in:
@@ -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"'"))'
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user