File: use-python3.patch

package info (click to toggle)
changeme 1.2.3-8
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 976 kB
  • sloc: python: 2,386; xml: 29; sh: 3; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 813 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
24
25
26
27
28
29
30
31
32
33
34
From: Sophie Brun <sophie@freexian.com>
Date: Tue, 4 Jan 2022 09:57:44 +0100
Subject: Update shebang to use python3


dh-python3 does not replave the shebang #!/usr/bin/env python.
Change the shebang to have python3 by default.
Last-Update: 2022-01-04
Forwarded: not-needed
---
 changeme.py        | 2 +-
 changeme/schema.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/changeme.py b/changeme.py
index 350b367..edc2e40 100755
--- a/changeme.py
+++ b/changeme.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from changeme import core
 
diff --git a/changeme/schema.py b/changeme/schema.py
index 0b37a9a..7c7b689 100644
--- a/changeme/schema.py
+++ b/changeme/schema.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import changeme.core
 import os