Skip to content

Commit b9cdafa

Browse files
committed
Remove dep on six
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent be774ae commit b9cdafa

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

setup.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ classifiers =
1616
Intended Audience :: Developers
1717
Programming Language :: Python :: 3
1818
Programming Language :: Python :: 3 :: Only
19+
Programming Language :: Python :: 3.6
20+
Programming Language :: Python :: 3.7
21+
Programming Language :: Python :: 3.8
22+
Programming Language :: Python :: 3.9
23+
Programming Language :: Python :: 3.10
1924
Topic :: Software Development
2025
Topic :: Utilities
2126

@@ -49,7 +54,6 @@ install_requires =
4954
attrs
5055
packageurl-python
5156
requests
52-
six
5357

5458

5559
[options.packages.find]

src/fetchcode/packagedcode_models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import attr
3535
from packageurl import normalize_qualifiers
3636
from packageurl import PackageURL
37-
from six import string_types
3837

3938
from fetchcode.commoncode_datautils import choices
4039
from fetchcode.commoncode_datautils import Boolean
@@ -89,7 +88,7 @@ def logger_debug(*args):
8988
logger.setLevel(logging.DEBUG)
9089

9190
def logger_debug(*args):
92-
return logger.debug(' '.join(isinstance(a, string_types) and a or repr(a) for a in args))
91+
return logger.debug(' '.join(isinstance(a, str) and a or repr(a) for a in args))
9392

9493

9594
class BaseModel(object):

0 commit comments

Comments
 (0)