From 3bb7b0eef309dbac7ca97ae7fa54213950e86ac8 Mon Sep 17 00:00:00 2001 From: ian Date: Mon, 13 Apr 2015 16:03:02 -0400 Subject: [PATCH] Import StringIO from six in a couple more places. --- v2/ansible/executor/module_common.py | 2 +- v2/test/parsing/yaml/test_loader.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/ansible/executor/module_common.py b/v2/ansible/executor/module_common.py index 23890d64e6..535fbd45e3 100644 --- a/v2/ansible/executor/module_common.py +++ b/v2/ansible/executor/module_common.py @@ -21,7 +21,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type # from python and deps -from cStringIO import StringIO +from six.moves import StringIO import json import os import shlex diff --git a/v2/test/parsing/yaml/test_loader.py b/v2/test/parsing/yaml/test_loader.py index 9a4746b99d..d393d72a00 100644 --- a/v2/test/parsing/yaml/test_loader.py +++ b/v2/test/parsing/yaml/test_loader.py @@ -20,7 +20,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type -from StringIO import StringIO +from six.moves import StringIO from collections import Sequence, Set, Mapping from ansible.compat.tests import unittest