diff options
Diffstat (limited to 'heatclient/common/format_utils.py')
-rw-r--r-- | heatclient/common/format_utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/heatclient/common/format_utils.py b/heatclient/common/format_utils.py index d1a9206..598ae9e 100644 --- a/heatclient/common/format_utils.py +++ b/heatclient/common/format_utils.py @@ -15,7 +15,6 @@ import sys from osc_lib.command import command -import six class RawFormat(command.ShowOne): @@ -63,7 +62,7 @@ def indent_and_truncate(txt, spaces=0, truncate=False, truncate_limit=10, """ if txt is None: return - lines = six.text_type(txt).splitlines() + lines = str(txt).splitlines() if truncate and len(lines) > truncate_limit: lines = lines[-truncate_limit:] if truncate_prefix is not None: |