Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10190/src/skins/main

Modified Files:
        info_area.py 
Log Message:
Fixes some bugs related to handling unicode internally.
NOTE: Many of the bugs are related to using str() everywhere, so please stop doing 
that.


Index: info_area.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/info_area.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** info_area.py        4 Feb 2004 19:05:36 -0000       1.14
--- info_area.py        5 Feb 2004 05:44:26 -0000       1.15
***************
*** 10,13 ****
--- 10,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.15  2004/02/05 05:44:26  gsbarbieri
+ # Fixes some bugs related to handling unicode internally.
+ # NOTE: Many of the bugs are related to using str() everywhere, so please stop doing 
that.
+ #
  # Revision 1.14  2004/02/04 19:05:36  dischi
  # remove bad log message
***************
*** 281,285 ****
                          exp = eval(exp, {'attr': item.getattr}, function_calls)
                          if exp:
!                             list[ i ].text = str( 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
--- 285,292 ----
                          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



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to