From a117944d0fbe6d186374d81d6a2365da1780e66e Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Wed, 23 Jan 2013 19:48:13 +0100 Subject: [PATCH] Make env-setup work on Python 3 --- hacking/env-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hacking/env-setup b/hacking/env-setup index ec77c7de6d0..bd0a268fe75 100755 --- a/hacking/env-setup +++ b/hacking/env-setup @@ -10,7 +10,7 @@ else fi # The below is an alternative to readlink -fn which doesn't exist on OS X # Source: http://stackoverflow.com/a/1678636 -FULL_PATH=`python -c "import os; print os.path.realpath('$HACKING_DIR')"` +FULL_PATH=`python -c "import os; print(os.path.realpath('$HACKING_DIR'))"` ANSIBLE_HOME=`dirname $FULL_PATH` PREFIX_PYTHONPATH="$ANSIBLE_HOME/lib"