areguera / rpms / mailman

Forked from rpms/mailman 5 years ago
Clone

Blame SOURCES/mailman-specify_python_version.patch

5c2a97
diff --git a/contrib/courier-to-mailman.py b/contrib/courier-to-mailman.py
5c2a97
index 922401f..572b47d 100644
5c2a97
--- a/contrib/courier-to-mailman.py
5c2a97
+++ b/contrib/courier-to-mailman.py
5c2a97
@@ -1,4 +1,4 @@
5c2a97
-#! /usr/bin/python
5c2a97
+#! /usr/bin/python2
5c2a97
 
5c2a97
 # Configuration variables - Change these for your site if necessary.
5c2a97
 #
5c2a97
diff --git a/tests/onebounce.py b/tests/onebounce.py
5c2a97
index 85f3b98..b54d075 100755
5c2a97
--- a/tests/onebounce.py
5c2a97
+++ b/tests/onebounce.py
5c2a97
@@ -1,4 +1,4 @@
5c2a97
-#! /usr/bin/python
5c2a97
+#! /usr/bin/python2
5c2a97
 
5c2a97
 # Copyright (C) 2002-2018 by the Free Software Foundation, Inc.
5c2a97
 #
5c2a97
diff --git a/bin/msgfmt.py b/bin/msgfmt.py
5c2a97
index 8a2d4e6..27a40bf 100755
5c2a97
--- a/bin/msgfmt.py
5c2a97
+++ b/bin/msgfmt.py
5c2a97
@@ -1,4 +1,4 @@
5c2a97
-#! /usr/bin/env python
5c2a97
+#!/usr/bin/python2
5c2a97
 # -*- coding: iso-8859-1 -*-
5c2a97
 # Written by Martin v. Löwis <loewis@informatik.hu-berlin.de>
5c2a97
 
5c2a97
diff --git a/Mailman/Archiver/pipermail.py b/Mailman/Archiver/pipermail.py
5c2a97
index cfca480..3d6a9d6 100644
5c2a97
--- a/Mailman/Archiver/pipermail.py
5c2a97
+++ b/Mailman/Archiver/pipermail.py
5c2a97
@@ -1,4 +1,4 @@
5c2a97
-#! /usr/bin/env python
5c2a97
+#! /usr/bin/python2
5c2a97
 
5c2a97
 from __future__ import nested_scopes
5c2a97
 
5c2a97
diff --git a/Mailman/Archiver/pipermail.py.unicode b/Mailman/Archiver/pipermail.py.unicode
5c2a97
index 62fb92e..a663829 100644
5c2a97
--- a/Mailman/Archiver/pipermail.py.unicode
5c2a97
+++ b/Mailman/Archiver/pipermail.py.unicode
5c2a97
@@ -1,4 +1,4 @@
5c2a97
-#! /usr/bin/env python
5c2a97
+#! /usr/bin/python2
5c2a97
 
5c2a97
 from __future__ import nested_scopes
5c2a97
 
5c2a97
diff --git a/Mailman/Post.py b/Mailman/Post.py
5c2a97
index 7f86696..b4dcfb0 100644
5c2a97
--- a/Mailman/Post.py
5c2a97
+++ b/Mailman/Post.py
5c2a97
@@ -1,4 +1,4 @@
5c2a97
-#! /usr/bin/env python
5c2a97
+#! /usr/bin/python2
5c2a97
 #
5c2a97
 # Copyright (C) 2001-2018 by the Free Software Foundation, Inc.
5c2a97
 #
5c2a97
diff --git a/tests/fblast.py b/tests/fblast.py
5c2a97
index 092e420..905401d 100644
5c2a97
--- a/tests/fblast.py
5c2a97
+++ b/tests/fblast.py
5c2a97
@@ -1,4 +1,4 @@
5c2a97
-#! /usr/bin/env python
5c2a97
+#! /usr/bin/python2
5c2a97
 """Throw email at Mailman as fast as you can.
5c2a97
 
5c2a97
 This is not a unit test, it's a functional test, so you can't run it within