diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-02-26 16:06:02 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-02-26 16:06:02 (GMT) |
commit | 399fc14609facd355720dbfa0310ed71e24faedd (patch) | |
tree | 501e015db3ec2ac01b6514ac75ecbaa717ff3e3f /Lib/logging | |
parent | 4a7f2168a65ec5974d1005f48d79d3689a2ba0c8 (diff) | |
download | cpython-399fc14609facd355720dbfa0310ed71e24faedd.zip cpython-399fc14609facd355720dbfa0310ed71e24faedd.tar.gz cpython-399fc14609facd355720dbfa0310ed71e24faedd.tar.bz2 |
Issue #11330: Updated tests for correct asctime handling.
Diffstat (limited to 'Lib/logging')
-rw-r--r-- | Lib/logging/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index da12a0e..d9ac7d9 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -383,7 +383,7 @@ class StrFormatStyle(PercentStyle): class StringTemplateStyle(PercentStyle): default_format = '${message}' asctime_format = '${asctime}' - asctime_search = '${asctime' + asctime_search = '${asctime}' def __init__(self, fmt): self._fmt = fmt or self.default_format |