Skip to content

Commit 6575581

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Python 3: remove a useless code to safe_encode()"
2 parents 25cd4db + 1fedd38 commit 6575581

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎openstackclient/common/utils.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import time
2424

2525
from openstackclient.common import exceptions
26-
from openstackclient.openstack.common import strutils
2726

2827

2928
def find_resource(manager, name_or_id):
@@ -79,8 +78,7 @@ def format_dict(data):
7978

8079
output = ""
8180
for s in data:
82-
output = output + s + "='" + \
83-
strutils.safe_encode(six.text_type(data[s])) + "', "
81+
output = output + s + "='" + six.text_type(data[s]) + "', "
8482
return output[:-2]
8583

8684

0 commit comments

Comments
 (0)