diff options
author | wangzihao <wangzihao@yovole.com> | 2020-10-12 19:39:10 +0800 |
---|---|---|
committer | wangzihao <wangzihao@yovole.com> | 2020-12-17 17:51:56 +0800 |
commit | adc39e86acb1c705d39e1abd908018e5e6b2f4c5 (patch) | |
tree | ff8645f151c63bf0cc9ee4197d42dc645bf9df63 /osprofiler/drivers/base.py | |
parent | 2794b9828ccf0a8b1eafcc8dee4be1c3714c9b68 (diff) | |
download | osprofiler-adc39e86acb1c705d39e1abd908018e5e6b2f4c5.tar.gz |
Remove six
Remove six Replace the following items with Python 3 style code.
- six.moves
- six.StringIO
- six.add_metaclass
- six.string_types
- six.binary_type
- six.text_type
- six.integer_types
- six.PY3
- six.PY2
- six.iterkeys
Change-Id: Id9f2076be1a6a2d99db5acb682df8bebe893de36
Diffstat (limited to 'osprofiler/drivers/base.py')
-rw-r--r-- | osprofiler/drivers/base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/osprofiler/drivers/base.py b/osprofiler/drivers/base.py index bb0dc7e..99b37b1 100644 --- a/osprofiler/drivers/base.py +++ b/osprofiler/drivers/base.py @@ -15,8 +15,7 @@ import datetime import logging - -import six.moves.urllib.parse as urlparse +from urllib import parse as urlparse from osprofiler import _utils |