summaryrefslogtreecommitdiff
path: root/debian/patches/use-python2-as-the-interpreter-now-for-tests-not-python.patch
blob: e071826d9df067a39f26243e413090c582a47233 (plain)
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 python2 as the interpreter now for tests, not python

/usr/bin/python is no longer guaranteed to exist, per PEP 394.  Use
python2 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..375fc07 100755
--- a/subversion/tests/cmdline/svneditor.py
+++ b/subversion/tests/cmdline/svneditor.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 #  svneditor.py: a mock $SVN_EDITOR for the Subversion test suite
 #