1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #55 from chjohnst/master

python 2.5 dep
This commit is contained in:
Michael DeHaan 2012-02-29 09:36:39 -08:00
commit f2a0346080
2 changed files with 10 additions and 2 deletions

View file

@ -17,9 +17,13 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
try:
import json
except ImportError:
import simplejson as json
from optparse import OptionParser from optparse import OptionParser
import sys import sys
import json
import os import os
import getpass import getpass
import shlex import shlex

View file

@ -16,11 +16,15 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# #
try:
import json
except ImportError:
import simplejson as json
import fnmatch import fnmatch
import multiprocessing import multiprocessing
import signal import signal
import os import os
import json
import traceback import traceback
import paramiko # non-core dependency import paramiko # non-core dependency
import ansible.constants as C import ansible.constants as C