Projet

Général

Profil

Révision 3aa14731

Ajouté par Julien Enselme il y a plus de 7 ans

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

Voir les différences:

.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
}

Formats disponibles : Unified diff