mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
hacking/env-setup: remove unused sys import.
This commit is contained in:
@@ -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, sys; 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"
|
||||
|
||||
Reference in New Issue
Block a user