Commits

Doug Hellmann  committed bde7ba8

pep8 and test updates for previous commit

Change-Id: I6f66b373b5d00ccb25de727e8033d6b71e043f80

  • Participants
  • Parent commits 06c8b3c
  • Tags 4.3.1

Comments (0)

Files changed (2)

File tests/test_project_mk.sh

     mkdir -p "$WORKON_HOME"
     rm -rf "$PROJECT_HOME"
     mkdir -p "$PROJECT_HOME"
+    export VIRTUALENVWRAPPER_HOOK_DIR="$WORKON_HOME/hooks"
     source "$test_dir/../virtualenvwrapper.sh"
 }
 

File virtualenvwrapper/project.py

 #
 # Run user-provided scripts
 #
-[ -f "$VIRTUALENVWRAPPER_HOOK_DIR/postmkproject" ] && source "$VIRTUALENVWRAPPER_HOOK_DIR/postmkproject"
+[ -f "$VIRTUALENVWRAPPER_HOOK_DIR/postmkproject" ] && \
+    source "$VIRTUALENVWRAPPER_HOOK_DIR/postmkproject"
 """