+ python-change-scripts-to-use-system-python-instead-of-env.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     scripts: python: change scripts to use system python instead of env
has been added to the -mm tree.  Its filename is
     python-change-scripts-to-use-system-python-instead-of-env.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: scripts: python: change scripts to use system python instead of env
From: Don Zickus <dzickus@xxxxxxxxxx>

Just a small change to a couple of scripts to go from

 #!/usr/bin/env python

to

 #!/usr/bin/python

This shouldn't effect anyone, unless they don't install python there.

In preparation for python3, Fedora is doing a big push to change the
scripts to use the system python.  This allows developers to put the
python3 in their path without fear of breaking existing scripts.

Now I am pretty sure anyone using python3 for testing purposes will
probably not run any of the scripts I changed, but Fedora has this
automated tool that checks for this stuff so I thought I would try to push
it upstream.

Signed-off-by: Don Zickus <dzickus@xxxxxxxxxx>
Cc: Michal Marek <mmarek@xxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: "Luck, Tony" <tony.luck@xxxxxxxxx>
Cc: Kyle McMartin <kyle@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/ia64/scripts/unwcheck.py  |    2 +-
 scripts/rt-tester/rt-tester.py |    2 +-
 scripts/show_delta             |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff -puN arch/ia64/scripts/unwcheck.py~python-change-scripts-to-use-system-python-instead-of-env arch/ia64/scripts/unwcheck.py
--- a/arch/ia64/scripts/unwcheck.py~python-change-scripts-to-use-system-python-instead-of-env
+++ a/arch/ia64/scripts/unwcheck.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 #
 # Usage: unwcheck.py FILE
 #
diff -puN scripts/rt-tester/rt-tester.py~python-change-scripts-to-use-system-python-instead-of-env scripts/rt-tester/rt-tester.py
--- a/scripts/rt-tester/rt-tester.py~python-change-scripts-to-use-system-python-instead-of-env
+++ a/scripts/rt-tester/rt-tester.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 #
 # rt-mutex tester
 #
diff -puN scripts/show_delta~python-change-scripts-to-use-system-python-instead-of-env scripts/show_delta
--- a/scripts/show_delta~python-change-scripts-to-use-system-python-instead-of-env
+++ a/scripts/show_delta
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python
 #
 # show_deltas: Read list of printk messages instrumented with
 # time data, and format with time deltas.
_

Patches currently in -mm which might be from dzickus@xxxxxxxxxx are

python-change-scripts-to-use-system-python-instead-of-env.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux