[Python-checkins] python/dist/src/Lib/distutils log.py,1.5,1.6
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Tue Aug 3 20:53:09 CEST 2004
- Previous message: [Python-checkins] python/dist/src/Modules _tkinter.c,1.165,1.166
- Next message: [Python-checkins] python/dist/src/Lib/distutils/tests support.py,
1.1, 1.2 test_build_py.py, 1.3, 1.4 test_build_scripts.py, 1.2,
1.3 test_install_scripts.py, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17319/Lib/distutils
Modified Files:
log.py
Log Message:
make sure distutils logging is shut off in tests to avoid spurious output
Index: log.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/log.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** log.py 18 Jul 2004 06:14:42 -0000 1.5
--- log.py 3 Aug 2004 18:53:07 -0000 1.6
***************
*** 51,55 ****
--- 51,58 ----
def set_threshold(level):
+ # return the old threshold for use from tests
+ old = _global_log.threshold
_global_log.threshold = level
+ return old
def set_verbosity(v):
- Previous message: [Python-checkins] python/dist/src/Modules _tkinter.c,1.165,1.166
- Next message: [Python-checkins] python/dist/src/Lib/distutils/tests support.py,
1.1, 1.2 test_build_py.py, 1.3, 1.4 test_build_scripts.py, 1.2,
1.3 test_install_scripts.py, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list