Project

General

Profile

Revision 3aa14731

Added by Julien Enselme over 7 years ago

Correct function my-unlog after update to Python 3.5

  • Export PYTHONPATH so unlog module is found in the venv
  • Deactivate the venv before exiting the function

View differences:

.functions
1 1
my-unlog() {
2 2
    . /home/assos/unlog/bin/activate
3
    export PYTHONPATH=/home/assos/unlog/unlog
3 4
    unlog "$@"
5
    deactivate
4 6
}

Also available in: Unified diff