[Python-checkins] python/dist/src/Lib/logging __init__.py, 1.15,
1.16 handlers.py, 1.13, 1.14
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Wed Jul 7 22:54:50 CEST 2004
- Previous message: [Python-checkins] python/dist/src/Lib/compiler pycodegen.py, 1.67,
1.68 symbols.py, 1.14, 1.15
- Next message: [Python-checkins] python/dist/src/Lib/encodings big5.py, 1.1,
1.2 cp932.py, 1.1, 1.2 cp949.py, 1.1, 1.2 cp950.py, 1.1,
1.2 euc_jisx0213.py, 1.1, 1.2 euc_jp.py, 1.1, 1.2 euc_kr.py,
1.1, 1.2 gb18030.py, 1.1, 1.2 gb2312.py, 1.1, 1.2 gbk.py, 1.1,
1.2 hz.py, 1.1, 1.2 iso2022_jp.py, 1.1, 1.2 iso2022_jp_1.py,
1.1, 1.2 iso2022_jp_2.py, 1.1, 1.2 iso2022_jp_3.py, 1.1,
1.2 iso2022_jp_ext.py, 1.1, 1.2 iso2022_kr.py, 1.1,
1.2 johab.py, 1.1, 1.2 ptcp154.py, 1.1, 1.2 shift_jis.py, 1.1,
1.2 shift_jisx0213.py, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/logging
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28101/Lib/logging
Modified Files:
__init__.py handlers.py
Log Message:
Whitespace normalization.
Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/logging/__init__.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** __init__.py 3 Jul 2004 11:47:26 -0000 1.15
--- __init__.py 7 Jul 2004 20:54:47 -0000 1.16
***************
*** 1163,1167 ****
level = kwargs.get("level")
if level:
! root.setLevel(level)
#---------------------------------------------------------------------------
--- 1163,1167 ----
level = kwargs.get("level")
if level:
! root.setLevel(level)
#---------------------------------------------------------------------------
Index: handlers.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/logging/handlers.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** handlers.py 3 Jul 2004 11:48:34 -0000 1.13
--- handlers.py 7 Jul 2004 20:54:48 -0000 1.14
***************
*** 316,322 ****
# we've waited long enough.
if self.retryTime is None:
! attempt = 1
else:
! attempt = (now >= self.retryTime)
if attempt:
try:
--- 316,322 ----
# we've waited long enough.
if self.retryTime is None:
! attempt = 1
else:
! attempt = (now >= self.retryTime)
if attempt:
try:
***************
*** 367,375 ****
ei = record.exc_info
if ei:
! dummy = self.format(record) # just to get traceback text into record.exc_text
! record.exc_info = None # to avoid Unpickleable error
s = cPickle.dumps(record.__dict__, 1)
if ei:
! record.exc_info = ei # for next handler
slen = struct.pack(">L", len(s))
return slen + s
--- 367,375 ----
ei = record.exc_info
if ei:
! dummy = self.format(record) # just to get traceback text into record.exc_text
! record.exc_info = None # to avoid Unpickleable error
s = cPickle.dumps(record.__dict__, 1)
if ei:
! record.exc_info = ei # for next handler
slen = struct.pack(">L", len(s))
return slen + s
- Previous message: [Python-checkins] python/dist/src/Lib/compiler pycodegen.py, 1.67,
1.68 symbols.py, 1.14, 1.15
- Next message: [Python-checkins] python/dist/src/Lib/encodings big5.py, 1.1,
1.2 cp932.py, 1.1, 1.2 cp949.py, 1.1, 1.2 cp950.py, 1.1,
1.2 euc_jisx0213.py, 1.1, 1.2 euc_jp.py, 1.1, 1.2 euc_kr.py,
1.1, 1.2 gb18030.py, 1.1, 1.2 gb2312.py, 1.1, 1.2 gbk.py, 1.1,
1.2 hz.py, 1.1, 1.2 iso2022_jp.py, 1.1, 1.2 iso2022_jp_1.py,
1.1, 1.2 iso2022_jp_2.py, 1.1, 1.2 iso2022_jp_3.py, 1.1,
1.2 iso2022_jp_ext.py, 1.1, 1.2 iso2022_kr.py, 1.1,
1.2 johab.py, 1.1, 1.2 ptcp154.py, 1.1, 1.2 shift_jis.py, 1.1,
1.2 shift_jisx0213.py, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list