ext: Rename config_utils import to config_lib
This commit is contained in:
parent
b655e846b1
commit
d143ec6e36
@ -4,7 +4,7 @@ import logging
|
||||
import pkg_resources
|
||||
|
||||
from mopidy import exceptions
|
||||
from mopidy import config as config_utils
|
||||
from mopidy import config as config_lib
|
||||
|
||||
|
||||
logger = logging.getLogger('mopidy.ext')
|
||||
@ -21,7 +21,7 @@ class Extension(object):
|
||||
'Add at least a config section with "enabled = true"')
|
||||
|
||||
def get_config_schema(self):
|
||||
return config_utils.ExtensionConfigSchema()
|
||||
return config_lib.ExtensionConfigSchema()
|
||||
|
||||
def validate_environment(self):
|
||||
pass
|
||||
@ -76,7 +76,7 @@ def load_extensions():
|
||||
|
||||
|
||||
def filter_enabled_extensions(raw_config, extensions):
|
||||
boolean = config_utils.Boolean()
|
||||
boolean = config_lib.Boolean()
|
||||
enabled_extensions = []
|
||||
enabled_names = []
|
||||
disabled_names = []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user