Commit c339434e by Daniel Hokka Zakrisson

Merge pull request #1863 from blair/remove-unused-sys-import

hacking/env-setup: remove unused sys import.
parents 630a8055 ec5f6ae2
...@@ -10,7 +10,7 @@ else ...@@ -10,7 +10,7 @@ else
fi fi
# The below is an alternative to readlink -fn which doesn't exist on OS X # The below is an alternative to readlink -fn which doesn't exist on OS X
# Source: http://stackoverflow.com/a/1678636 # Source: http://stackoverflow.com/a/1678636
FULL_PATH=`python -c "import os, sys; print os.path.realpath('$HACKING_DIR')"` FULL_PATH=`python -c "import os; print os.path.realpath('$HACKING_DIR')"`
ANSIBLE_HOME=`dirname $FULL_PATH` ANSIBLE_HOME=`dirname $FULL_PATH`
PREFIX_PYTHONPATH="$ANSIBLE_HOME/lib" PREFIX_PYTHONPATH="$ANSIBLE_HOME/lib"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment