Author: dmeyer
Date: Fri Nov 23 07:37:12 2007
New Revision: 10154
Log:
change print statements to use logger
Modified:
trunk/ui/src/gui/displays/__init__.py
trunk/ui/src/gui/font.py
Modified: trunk/ui/src/gui/displays/__init__.py
==============================================================================
--- trunk/ui/src/gui/displays/__init__.py (original)
+++ trunk/ui/src/gui/displays/__init__.py Fri Nov 23 07:37:12 2007
@@ -110,9 +110,7 @@
global display_stack
animation.render().killall()
if screen != display_stack[-1]:
- log.error('removing screen not on top')
- print screen
- print display_stack
+ log.error('removing screen not on top: %s of %s', screen,
display_stack)
raise AttributeError
display_stack = display_stack[:-1]
Modified: trunk/ui/src/gui/font.py
==============================================================================
--- trunk/ui/src/gui/font.py (original)
+++ trunk/ui/src/gui/font.py Fri Nov 23 07:37:12 2007
@@ -100,8 +100,8 @@
except IOError:
# not good
if not name in font_warning:
- print 'WARNING: No alternate found in the alias list!'
- print 'Falling back to default font, this looks ugly'
+ log.error('WARNING: No alternate found in the alias
list!')
+ log.error('Falling back to default font, this looks
ugly')
font_warning.append(name)
name = DEFAULT_FONT
return kaa.mevas.imagelib.load_font(name, ptsize)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog