From c589981c50ff68d95ffd5287c3dccb8e28822a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9na=C3=AFc=20Huard?= Date: Mon, 12 Jan 2015 09:51:30 +0100 Subject: Explicitely use python2 Some distributions are using python3 as the default python. On those ones, we need to explicitely use python2. --- bin/oscp | 2 +- bin/ossh | 2 +- inventory/aws/ec2.py | 2 +- inventory/gce/gce.py | 2 +- inventory/multi_ec2.py | 2 +- test/units/mutli_ec2_test.py | 2 +- 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 -- cgit v1.2.1