diff options
author | Takashi Kajinami <tkajinam@redhat.com> | 2022-05-09 14:48:19 +0900 |
---|---|---|
committer | Takashi Kajinami <tkajinam@redhat.com> | 2022-05-09 17:01:25 +0000 |
commit | 23e647539cb9c6872d9f72de99c21e113fded77c (patch) | |
tree | cb1d066f225e328b664a6fa3dd73607fec181f9e /heatclient/shell.py | |
parent | a12456c17c5f43a35a54e605e89f74205be1e98e (diff) | |
download | python-heatclient-23e647539cb9c6872d9f72de99c21e113fded77c.tar.gz |
Remove six
This library no longer supports Python 2, thus usage of six can be
removed.
Change-Id: I8d0c1cfd6dff375b3b7756a5b36c95a2df3f04c6
Diffstat (limited to 'heatclient/shell.py')
-rw-r--r-- | heatclient/shell.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/heatclient/shell.py b/heatclient/shell.py index cf143bf..9123bac 100644 --- a/heatclient/shell.py +++ b/heatclient/shell.py @@ -22,7 +22,6 @@ from keystoneauth1.identity import generic from keystoneauth1 import session as kssession from oslo_utils import encodeutils from oslo_utils import importutils -import six import heatclient from heatclient._i18n import _ @@ -610,7 +609,7 @@ def main(args=None): if '--debug' in args or '-d' in args: raise else: - print(encodeutils.safe_encode(six.text_type(e)), file=sys.stderr) + print(encodeutils.safe_encode(str(e)), file=sys.stderr) sys.exit(1) |