Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv8801
Modified Files:
config.py
Log Message:
no auto debug to file to keep Aubin from changing all debugs to 2
Index: config.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/config.py,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** config.py 23 Sep 2003 19:41:31 -0000 1.57
--- config.py 26 Sep 2003 10:02:26 -0000 1.58
***************
*** 23,26 ****
--- 23,29 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.58 2003/09/26 10:02:26 dischi
+ # no auto debug to file to keep Aubin from changing all debugs to 2
+ #
# Revision 1.57 2003/09/23 19:41:31 dischi
# add more help
***************
*** 213,225 ****
def _debug_function_(s, level=1):
! if DEBUG > 0:
! # add the current trace to the string
! where = traceback.extract_stack(limit = 2)[0]
! s = '%s (%s): %s' % (where[0][where[0].rfind('/')+1:], where[1], s)
! if DEBUG >= level:
! print s
! elif DEBUG == 0 and level == 1:
! if isinstance(sys.stderr, Logger):
! sys.stderr.log(s+'\n')
__builtin__.__dict__['_debug_']= _debug_function_
--- 216,227 ----
def _debug_function_(s, level=1):
! if DEBUG < level:
! return
! # add the current trace to the string
! where = traceback.extract_stack(limit = 2)[0]
! s = '%s (%s): %s' % (where[0][where[0].rfind('/')+1:], where[1], s)
! # print debug message
! print s
!
__builtin__.__dict__['_debug_']= _debug_function_
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog