summaryrefslogtreecommitdiffstats
path: root/Lib/logging
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-02-26 16:06:02 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-02-26 16:06:02 (GMT)
commit89807a5277be5733c7a8308867103bd75a1ece23 (patch)
tree869aa8dbfe4bc1be05fc9ce624c2b0000270d980 /Lib/logging
parented0473cfaf9222a862c97fd18f65a090c104e7c6 (diff)
downloadcpython-89807a5277be5733c7a8308867103bd75a1ece23.zip
cpython-89807a5277be5733c7a8308867103bd75a1ece23.tar.gz
cpython-89807a5277be5733c7a8308867103bd75a1ece23.tar.bz2
Issue #11330: Updated tests for correct asctime handling.
Diffstat (limited to 'Lib/logging')
-rw-r--r--Lib/logging/__init__.py2
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