summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLénaïc Huard <lenaic@lhuard.fr>2015-01-12 09:51:30 +0100
committerLénaïc Huard <lhuard@amadeus.com>2015-02-19 17:45:51 +0100
commitc589981c50ff68d95ffd5287c3dccb8e28822a47 (patch)
treef91616561c9695d270b6bca4819ce984ede558c4
parent81db3db61f911cbbc6ff8f88b90cecb870c41381 (diff)
downloadopenshift-c589981c50ff68d95ffd5287c3dccb8e28822a47.tar.gz
openshift-c589981c50ff68d95ffd5287c3dccb8e28822a47.tar.bz2
openshift-c589981c50ff68d95ffd5287c3dccb8e28822a47.tar.xz
openshift-c589981c50ff68d95ffd5287c3dccb8e28822a47.zip
Explicitely use python2
Some distributions are using python3 as the default python. On those ones, we need to explicitely use python2.
-rwxr-xr-xbin/oscp2
-rwxr-xr-xbin/ossh2
-rwxr-xr-xinventory/aws/ec2.py2
-rwxr-xr-xinventory/gce/gce.py2
-rwxr-xr-xinventory/multi_ec2.py2
-rwxr-xr-xtest/units/mutli_ec2_test.py2
6 files changed, 6 insertions, 6 deletions
diff --git a/bin/oscp b/bin/oscp
index a139ef38e..1cc336a6a 100755
--- a/bin/oscp
+++ b/bin/oscp
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# vim: expandtab:tabstop=4:shiftwidth=4
import argparse
diff --git a/bin/ossh b/bin/ossh
index 6b04cb46e..d409e120a 100755
--- a/bin/ossh
+++ b/bin/ossh
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# vim: expandtab:tabstop=4:shiftwidth=4
import argparse
diff --git a/inventory/aws/ec2.py b/inventory/aws/ec2.py
index 84841d3f0..9a99d91ea 100755
--- a/inventory/aws/ec2.py
+++ b/inventory/aws/ec2.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
'''
EC2 external inventory script
diff --git a/inventory/gce/gce.py b/inventory/gce/gce.py
index e77178c16..3403f735e 100755
--- a/inventory/gce/gce.py
+++ b/inventory/gce/gce.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# Copyright 2013 Google Inc.
#
# This file is part of Ansible
diff --git a/inventory/multi_ec2.py b/inventory/multi_ec2.py
index 499264267..5dee7972b 100755
--- a/inventory/multi_ec2.py
+++ b/inventory/multi_ec2.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# vim: expandtab:tabstop=4:shiftwidth=4
from time import time
diff --git a/test/units/mutli_ec2_test.py b/test/units/mutli_ec2_test.py
index ab76629b1..95df93cd2 100755
--- a/test/units/mutli_ec2_test.py
+++ b/test/units/mutli_ec2_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
import unittest
import sys