mirror of
https://github.com/beetbox/beets.git
synced 2025-12-14 20:43:41 +01:00
Fix redundant six string reference in Confit
This commit is contained in:
parent
e16cc58cb9
commit
2e39c79440
1 changed files with 1 additions and 2 deletions
|
|
@ -25,7 +25,6 @@ import yaml
|
|||
import collections
|
||||
import re
|
||||
from collections import OrderedDict
|
||||
import six
|
||||
|
||||
UNIX_DIR_VAR = 'XDG_CONFIG_HOME'
|
||||
UNIX_DIR_FALLBACK = '~/.config'
|
||||
|
|
@ -45,7 +44,7 @@ REDACTED_TOMBSTONE = 'REDACTED'
|
|||
# Utilities.
|
||||
|
||||
PY3 = sys.version_info[0] == 3
|
||||
STRING = str if PY3 else six.text_type # noqa
|
||||
STRING = str if PY3 else unicode # noqa
|
||||
BASESTRING = str if PY3 else basestring # noqa
|
||||
NUMERIC_TYPES = (int, float) if PY3 else (int, float, long) # noqa
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue