summaryrefslogtreecommitdiff
path: root/setuptools/command/rotate.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/rotate.py')
-rw-r--r--setuptools/command/rotate.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/setuptools/command/rotate.py b/setuptools/command/rotate.py
index e398834f..74795ba9 100644
--- a/setuptools/command/rotate.py
+++ b/setuptools/command/rotate.py
@@ -4,8 +4,6 @@ from distutils.errors import DistutilsOptionError
import os
import shutil
-from setuptools.extern import six
-
from setuptools import Command
@@ -38,7 +36,7 @@ class rotate(Command):
self.keep = int(self.keep)
except ValueError as e:
raise DistutilsOptionError("--keep must be an integer") from e
- if isinstance(self.match, six.string_types):
+ if isinstance(self.match, str):
self.match = [
convert_path(p.strip()) for p in self.match.split(',')
]