Ack to series.
Acked-by: Jan Tluka <jtluka(a)redhat.com>
Mon, Jul 27, 2015 at 02:06:48PM CEST, olichtne(a)redhat.com wrote:
From: Ondrej Lichtner <olichtne(a)redhat.com>
According to PEP 0394:
in preparation for an eventual change in the default version of Python,
Python 2 only scripts should either be updated to be source compatible
with Python 3 or else to use python2 in the shebang line.
It's not a complete solution but it solves problems of running LNST on
Arch Linux until more work is done on issue #105.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst-ctl | 2 +-
lnst-pool-wizard | 2 +-
lnst-slave | 2 +-
misc/recipe_conv.py | 2 +-
recipes/smoke/generate-recipes.py | 2 +-
setup.py | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/lnst-ctl b/lnst-ctl
index 9a321b6..947f3ad 100755
--- a/lnst-ctl
+++ b/lnst-ctl
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
"""
Net test controller
diff --git a/lnst-pool-wizard b/lnst-pool-wizard
index c788688..2b49744 100755
--- a/lnst-pool-wizard
+++ b/lnst-pool-wizard
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
"""
Machine pool wizard
diff --git a/lnst-slave b/lnst-slave
index d4345c3..6238769 100755
--- a/lnst-slave
+++ b/lnst-slave
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
"""
Net test slave
diff --git a/misc/recipe_conv.py b/misc/recipe_conv.py
index a5c19c4..a18a0d2 100755
--- a/misc/recipe_conv.py
+++ b/misc/recipe_conv.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
"""
Recipe converter
diff --git a/recipes/smoke/generate-recipes.py b/recipes/smoke/generate-recipes.py
index bed434b..24806ad 100755
--- a/recipes/smoke/generate-recipes.py
+++ b/recipes/smoke/generate-recipes.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2
# LNST Smoke Tests
# Author: Ondrej Lichtner <olichtne(a)redhat.com>
diff --git a/setup.py b/setup.py
index d281fe9..4033d4a 100755
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
"""
Install script for lnst
--
2.4.6
_______________________________________________
LNST-developers mailing list
LNST-developers(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/lnst-developers