File: use-python3-as-the-interpreter-now-for-tests-not-python.patch

package info (click to toggle)
subversion 1.14.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 80,416 kB
  • sloc: ansic: 1,039,361; python: 140,229; cpp: 24,862; java: 24,547; ruby: 12,312; lisp: 7,619; sh: 7,414; perl: 7,010; sql: 1,686; makefile: 1,191; xml: 577
file content (23 lines) | stat: -rw-r--r-- 769 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: Steve Langasek <steve.langasek@canonical.com>
Date: Sun, 12 Jan 2020 23:25:01 -0800
Subject: use python3 as the interpreter now for tests, not python

/usr/bin/python is no longer guaranteed to exist, per PEP 394.  Use
python3 instead for compatibility.

Closes: #948770
Signed-off-by: James McCoy <jamessan@debian.org>
---
 subversion/tests/cmdline/svneditor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subversion/tests/cmdline/svneditor.py b/subversion/tests/cmdline/svneditor.py
index 7f59987..4699dc1 100755
--- a/subversion/tests/cmdline/svneditor.py
+++ b/subversion/tests/cmdline/svneditor.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #  svneditor.py: a mock $SVN_EDITOR for the Subversion test suite
 #