Prechádzať zdrojové kódy

Explicitely use python2

Some distributions are using python3 as the default python.
On those ones, we need to explicitely use python2.
Lénaïc Huard 10 rokov pred
rodič
commit
c589981c50

+ 1 - 1
bin/oscp

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # vim: expandtab:tabstop=4:shiftwidth=4
 
 import argparse

+ 1 - 1
bin/ossh

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 # vim: expandtab:tabstop=4:shiftwidth=4
 
 import argparse

+ 1 - 1
inventory/aws/ec2.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 '''
 EC2 external inventory script

+ 1 - 1
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

+ 1 - 1
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

+ 1 - 1
test/units/mutli_ec2_test.py

@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 import unittest
 import sys