diff options
| author | Jenkins <jenkins@review.openstack.org> | 2014-07-08 01:01:01 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2014-07-08 01:01:01 +0000 |
| commit | 6575581f79afc79b3ab933ed962eb0b9c1b6e06f (patch) | |
| tree | 1acfaa00422a12752e4b6ad8a84230f8eb25d18c /openstackclient | |
| parent | 25cd4dbb546a962ac00897e34c3f8dad4cc45d08 (diff) | |
| parent | 1fedd38de6c14fb71529a8ee52390b6edfa837d0 (diff) | |
| download | python-openstackclient-6575581f79afc79b3ab933ed962eb0b9c1b6e06f.tar.gz | |
Merge "Python 3: remove a useless code to safe_encode()"
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/common/utils.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/openstackclient/common/utils.py b/openstackclient/common/utils.py index 0258f931..51c3ed4b 100644 --- a/openstackclient/common/utils.py +++ b/openstackclient/common/utils.py @@ -23,7 +23,6 @@ import sys import time from openstackclient.common import exceptions -from openstackclient.openstack.common import strutils def find_resource(manager, name_or_id): @@ -79,8 +78,7 @@ def format_dict(data): output = "" for s in data: - output = output + s + "='" + \ - strutils.safe_encode(six.text_type(data[s])) + "', " + output = output + s + "='" + six.text_type(data[s]) + "', " return output[:-2] |
