summaryrefslogtreecommitdiff
path: root/logilab/common/changelog.py
diff options
context:
space:
mode:
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>2019-11-08 14:48:57 +0100
committerPhilippe Pepiot <philippe.pepiot@logilab.fr>2019-11-08 14:48:57 +0100
commit52082ad6424aaece561f50ade2f739103c177496 (patch)
tree8e6e4d2f06c74d45f3ca5966be5c88b8cd9bbb8a /logilab/common/changelog.py
parentb78546d50cac911caeaf170612bbd8bde3d9f485 (diff)
downloadlogilab-common-52082ad6424aaece561f50ade2f739103c177496.tar.gz
Nearly drop dependency on six
Diffstat (limited to 'logilab/common/changelog.py')
-rw-r--r--logilab/common/changelog.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/logilab/common/changelog.py b/logilab/common/changelog.py
index 3f62bd4..6eb8432 100644
--- a/logilab/common/changelog.py
+++ b/logilab/common/changelog.py
@@ -50,8 +50,6 @@ import sys
from stat import S_IWRITE
import codecs
-from six import string_types
-
BULLET = '*'
SUBBULLET = '-'
INDENT = ' ' * 4
@@ -70,7 +68,7 @@ class Version(tuple):
correctly printing it as X.Y.Z
"""
def __new__(cls, versionstr):
- if isinstance(versionstr, string_types):
+ if isinstance(versionstr, str):
versionstr = versionstr.strip(' :') # XXX (syt) duh?
parsed = cls.parse(versionstr)
else: