From 3b41b268809a8e92ee38e2077eb91f43458ab4be Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Wed, 25 Feb 2015 22:57:49 +0100 Subject: [PATCH] config: Fix review comments --- docs/config.rst | 10 +++++----- mopidy/config/schemas.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/config.rst b/docs/config.rst index 82556dc8..69945ab8 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -128,16 +128,16 @@ Logging configuration 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 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``, - ``yellow``, ``blue``, ``magenta``, ``cyan`` or ``white``. + level to use for that logger, one of ``debug``, ``info``, ``warning``, + ``error``, or ``critical``. .. confval:: logcolors/* 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 - config section should match the name of a logger. The value is the log - level to use for that logger, one of ``debug``, ``info``, ``warning``, - ``error``, or ``critical``. + config section should match the name of a logger. The value is the color + to use for that logger, one of ``black``, ``red``, ``green``, ``yellow``, + ``blue``, ``magenta``, ``cyan`` or ``white``. .. _the Python logging docs: http://docs.python.org/2/library/logging.config.html diff --git a/mopidy/config/schemas.py b/mopidy/config/schemas.py index f1b3a8c1..2b055663 100644 --- a/mopidy/config/schemas.py +++ b/mopidy/config/schemas.py @@ -95,7 +95,7 @@ class ConfigSchema(collections.OrderedDict): 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 serialize/deserialize interface.