mirror of
https://github.com/beetbox/beets.git
synced 2026-01-04 23:12:51 +01:00
Removed unicode_literals from plugins and vfs
This commit is contained in:
parent
43572f50b0
commit
9918cbb34b
2 changed files with 5 additions and 7 deletions
|
|
@ -15,8 +15,7 @@
|
|||
|
||||
"""Support for beets plugins."""
|
||||
|
||||
from __future__ import (division, absolute_import, print_function,
|
||||
unicode_literals)
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
|
||||
import inspect
|
||||
import traceback
|
||||
|
|
@ -267,7 +266,7 @@ def load_plugins(names=()):
|
|||
|
||||
except:
|
||||
log.warn(
|
||||
'** error loading plugin {}:\n{}',
|
||||
u'** error loading plugin {}:\n{}',
|
||||
name,
|
||||
traceback.format_exc(),
|
||||
)
|
||||
|
|
@ -322,8 +321,8 @@ def types(model_cls):
|
|||
if field in types and plugin_types[field] != types[field]:
|
||||
raise PluginConflictException(
|
||||
u'Plugin {0} defines flexible field {1} '
|
||||
'which has already been defined with '
|
||||
'another type.'.format(plugin.name, field)
|
||||
u'which has already been defined with '
|
||||
u'another type.'.format(plugin.name, field)
|
||||
)
|
||||
types.update(plugin_types)
|
||||
return types
|
||||
|
|
|
|||
|
|
@ -16,8 +16,7 @@
|
|||
"""A simple utility for constructing filesystem-like trees from beets
|
||||
libraries.
|
||||
"""
|
||||
from __future__ import (division, absolute_import, print_function,
|
||||
unicode_literals)
|
||||
from __future__ import (division, absolute_import, print_function)
|
||||
|
||||
from collections import namedtuple
|
||||
from beets import util
|
||||
|
|
|
|||
Loading…
Reference in a new issue