Projet

Général

Profil

0001-misc-run-manage.py-with-python3-36224.patch

Frédéric Péters, 18 septembre 2019 12:53

Télécharger (867 octets)

Voir les différences:

Subject: [PATCH] misc: run manage.py with python3 (#36224)

 debian/chrono-manage | 4 ++--
 manage.py            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
debian/chrono-manage
18 18

  
19 19
if test $# -eq 0
20 20
then
21
    python ${MANAGE} help
21
    python3 ${MANAGE} help
22 22
    exit 1
23 23
fi
24 24

  
25
python ${MANAGE} "$@"
25
python3 ${MANAGE} "$@"
26 26

  
manage.py
1
#!/usr/bin/env python
1
#!/usr/bin/env python3
2 2
import os
3 3
import sys
4 4

  
5
-