Author: duncan
Date: Mon Jun 18 17:33:39 2007
New Revision: 9718
Modified:
branches/rel-1/freevo/src/config.py
Log:
The write funtion is used for print and so needs to write every time
Modified: branches/rel-1/freevo/src/config.py
==============================================================================
--- branches/rel-1/freevo/src/config.py (original)
+++ branches/rel-1/freevo/src/config.py Mon Jun 18 17:33:39 2007
@@ -118,16 +118,13 @@
def write(self, msg):
- global lock, DEBUG_STDOUT
- #print >> sys.__stdout__, 'lock-wrt=%s' % lock
+ global lock
lock.acquire()
try:
if isinstance(msg, unicode):
msg = msg.encode(LOCALE)
- if DEBUG_STDOUT:
- #print >> sys.__stdout__, msg
- sys.__stdout__.write(msg)
- sys.__stdout__.flush()
+ sys.__stdout__.write(msg)
+ sys.__stdout__.flush()
self.fp.write(msg)
self.fp.flush()
finally:
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog