summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Treinish <mtreinish@kortar.org>2015-04-23 09:43:23 -0400
committerMatthew Treinish <mtreinish@kortar.org>2015-04-23 12:00:18 -0400
commitfcd9a080dba1237780361b28b38c15ece634e176 (patch)
treebf999c5f22073fbd05c9d79b68562790c8fc53d3
parentf077dd26d3228e96fcf9702f5eb51fe12f04bdd2 (diff)
downloadtempest-fcd9a080dba1237780361b28b38c15ece634e176.tar.gz
Switch all uses of ConfigParser to import from six
As part of enabling python3 support in tempest we need to be able to handle ConfigParser usage in both python2 and python3. Six provies a compat layer for doing this, so this commit moves all uses of ConfigParser to get it through six. Change-Id: Ie4a788dc9b9151557e9f197fb48f3225c39de89f
-rw-r--r--tempest/services/botoclients.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tempest/services/botoclients.py b/tempest/services/botoclients.py
index 95c05d7f5..ede464f8a 100644
--- a/tempest/services/botoclients.py
+++ b/tempest/services/botoclients.py
@@ -13,13 +13,13 @@
# License for the specific language governing permissions and limitations
# under the License.
-import ConfigParser
import contextlib
import types
import boto
import boto.ec2
import boto.s3.connection
+from six.moves import configparser as ConfigParser
from six.moves.urllib import parse as urlparse
from tempest_lib import exceptions as lib_exc