Commits

Anonymous committed d6607a1

add new pre_activate_lookup extension point

  • Participants
  • Parent commits 94d472e
  • Branches pre_activate_lookup

Comments (0)

Files changed (1)

File virtualenvwrapper.sh

         return 1
     fi
 
-    virtualenvwrapper_run_hook "pre_activate" "$env_name"
+    virtualenvwrapper_run_hook "pre_activate_lookup" "$env_name"
 
     virtualenvwrapper_verify_workon_home || return 1
     virtualenvwrapper_verify_workon_environment $env_name || return 1
         unset -f deactivate >/dev/null 2>&1
     fi
 
+    virtualenvwrapper_run_hook "pre_activate" "$env_name"
+
     source "$activate"
 
     # Save the deactivate function from virtualenv under a different name