diff options
author | Lénaïc Huard <lenaic@lhuard.fr> | 2015-01-12 09:51:30 +0100 |
---|---|---|
committer | Lénaïc Huard <lhuard@amadeus.com> | 2015-02-19 17:45:51 +0100 |
commit | c589981c50ff68d95ffd5287c3dccb8e28822a47 (patch) | |
tree | f91616561c9695d270b6bca4819ce984ede558c4 | |
parent | 81db3db61f911cbbc6ff8f88b90cecb870c41381 (diff) | |
download | openshift-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-x | bin/oscp | 2 | ||||
-rwxr-xr-x | bin/ossh | 2 | ||||
-rwxr-xr-x | inventory/aws/ec2.py | 2 | ||||
-rwxr-xr-x | inventory/gce/gce.py | 2 | ||||
-rwxr-xr-x | inventory/multi_ec2.py | 2 | ||||
-rwxr-xr-x | test/units/mutli_ec2_test.py | 2 |
6 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # vim: expandtab:tabstop=4:shiftwidth=4 import argparse @@ -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 |