File: 0002_Use_python3_by_default.patch

package info (click to toggle)
hyperkitty 1.3.12-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,996 kB
  • sloc: javascript: 38,879; python: 12,081; makefile: 157; sh: 5
file content (23 lines) | stat: -rw-r--r-- 703 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: =?utf-8?q?Louis-Philippe=5FV=C3=A9ronneau?= <pollo@debian.org>
Date: Tue, 12 Mar 2019 13:51:37 -0400
Subject: Use python3 by default instead of /usr/bin/env python

Forwarded: not-needed
Last-Update: 2019-06-08

On systems running both python2 and python3 and where python2 is the default,
running 'example_project/manage.py' fails, since this is a python3 package.
---
 example_project/manage.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example_project/manage.py b/example_project/manage.py
index b5a2943..e9b9ab0 100755
--- a/example_project/manage.py
+++ b/example_project/manage.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 import os
 import sys