config: Fix review comments

This commit is contained in:
Thomas Adamcik 2015-02-25 22:57:49 +01:00
parent 5c833e106b
commit 3b41b26880
2 changed files with 6 additions and 6 deletions

View File

@ -128,16 +128,16 @@ Logging configuration
The ``loglevels`` config section can be used to change the log level for The ``loglevels`` config section can be used to change the log level for
specific parts of Mopidy during development or debugging. Each key in the specific parts of Mopidy during development or debugging. Each key in the
config section should match the name of a logger. The value is the log config section should match the name of a logger. The value is the log
level to use for that logger, one of ``black``, ``red``, ``green``, level to use for that logger, one of ``debug``, ``info``, ``warning``,
``yellow``, ``blue``, ``magenta``, ``cyan`` or ``white``. ``error``, or ``critical``.
.. confval:: logcolors/* .. confval:: logcolors/*
The ``logcolors`` config section can be used to change the log color for The ``logcolors`` config section can be used to change the log color for
specific parts of Mopidy during development or debugging. Each key in the specific parts of Mopidy during development or debugging. Each key in the
config section should match the name of a logger. The value is the log config section should match the name of a logger. The value is the color
level to use for that logger, one of ``debug``, ``info``, ``warning``, to use for that logger, one of ``black``, ``red``, ``green``, ``yellow``,
``error``, or ``critical``. ``blue``, ``magenta``, ``cyan`` or ``white``.
.. _the Python logging docs: http://docs.python.org/2/library/logging.config.html .. _the Python logging docs: http://docs.python.org/2/library/logging.config.html

View File

@ -95,7 +95,7 @@ class ConfigSchema(collections.OrderedDict):
class MapConfigSchema(object): class MapConfigSchema(object):
"""Special cased schema for handling mulitple keys with the same type. """Schema for handling multiple unknown keys with the same type.
Does not sub-class :class:`ConfigSchema`, but implements the same Does not sub-class :class:`ConfigSchema`, but implements the same
serialize/deserialize interface. serialize/deserialize interface.