[Python-checkins] cpython (3.2): Closes #12906: Fixed bug in YAML configuration.

vinay.sajip python-checkins at python.org
Tue Sep 6 15:08:38 CEST 2011


http://hg.python.org/cpython/rev/cf811943046b
changeset:   72308:cf811943046b
branch:      3.2
parent:      72304:a0628933a2f9
user:        Vinay Sajip <vinay_sajip at yahoo.co.uk>
date:        Tue Sep 06 14:07:23 2011 +0100
summary:
  Closes #12906: Fixed bug in YAML configuration.

files:
  Doc/howto/logging.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/howto/logging.rst b/Doc/howto/logging.rst
--- a/Doc/howto/logging.rst
+++ b/Doc/howto/logging.rst
@@ -679,7 +679,7 @@
     version: 1
     formatters:
       simple:
-        format: format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
+        format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
     handlers:
       console:
         class: logging.StreamHandler

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list