diff options
author | xuanyandong <xuanyandong@inspur.com> | 2020-09-28 18:29:10 +0800 |
---|---|---|
committer | Stephen Finucane <sfinucan@redhat.com> | 2020-10-29 11:27:41 +0000 |
commit | bc76d324f514d21ea9d2a5023da094488354acfb (patch) | |
tree | 694e977aaedb5012258ff7df7c9d89395e8b42ef /cliff/show.py | |
parent | ab4ec34ed9df715b1c960abad47847734f3311a0 (diff) | |
download | cliff-bc76d324f514d21ea9d2a5023da094488354acfb.tar.gz |
Remove six
Replace the following items with Python 3 style code.
- six.moves
- six.PY2
- six.PY3
- six.string_types
- six.text_type
Change-Id: I1656b976864c8f2343e658a4abf432d30c151d0b
Diffstat (limited to 'cliff/show.py')
-rw-r--r-- | cliff/show.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cliff/show.py b/cliff/show.py index dc6482a..6273c0e 100644 --- a/cliff/show.py +++ b/cliff/show.py @@ -14,13 +14,10 @@ """ import abc -import six - from . import display -@six.add_metaclass(abc.ABCMeta) -class ShowOne(display.DisplayCommandBase): +class ShowOne(display.DisplayCommandBase, metaclass=abc.ABCMeta): """Command base class for displaying data about a single object. """ |