Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12377
Modified Files:
info_area.py
Log Message:
support "0" as result
Index: info_area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/info_area.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** info_area.py 5 Feb 2004 05:44:26 -0000 1.15
--- info_area.py 12 Feb 2004 12:21:36 -0000 1.16
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.16 2004/02/12 12:21:36 dischi
+ # support "0" as result
+ #
# Revision 1.15 2004/02/05 05:44:26 gsbarbieri
# Fixes some bugs related to handling unicode internally.
***************
*** 284,292 ****
if exp:
exp = eval(exp, {'attr': item.getattr}, function_calls)
if exp:
! if type( exp ) != unicode and type( exp )!= str:
! list[ i ].text = str( exp )
! else:
! list[ i ].text = exp
# I add a tuple here to be able to compare lists and know if we need
to
# update, this is useful in the mp3 player
--- 287,294 ----
if exp:
exp = eval(exp, {'attr': item.getattr}, function_calls)
+ if type( exp ) != unicode and type( exp )!= str:
+ exp = str( exp )
if exp:
! list[ i ].text = exp
# I add a tuple here to be able to compare lists and know if we need
to
# update, this is useful in the mp3 player
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog