Преглед изворни кода

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 година
родитељ
комит
c589981c50
6 измењених фајлова са 6 додато и 6 уклоњено
  1. 1 1
      bin/oscp
  2. 1 1
      bin/ossh
  3. 1 1
      inventory/aws/ec2.py
  4. 1 1
      inventory/gce/gce.py
  5. 1 1
      inventory/multi_ec2.py
  6. 1 1
      test/units/mutli_ec2_test.py

+ 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