Update of /cvsroot/freevo/freevo/src/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27078

Modified Files:
        extendedmeta.py 
Log Message:
unicode fix

Index: extendedmeta.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util/extendedmeta.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** extendedmeta.py     13 Feb 2004 17:33:42 -0000      1.8
--- extendedmeta.py     21 Feb 2004 19:44:05 -0000      1.9
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.9  2004/02/21 19:44:05  dischi
+ # unicode fix
+ #
  # Revision 1.8  2004/02/13 17:33:42  dischi
  # no defaults for addPathDB
***************
*** 236,244 ****
              
      def strcmp(self, s1, s2):
          if not s1 or not s2:
              return s1 or s2
          if s1 == various or s2 == various:
              return various
!         # print 'cmp: %s %s ' % ( s1, s2)
          if s1.replace(' ', '').lower() == s2.replace(' ', '').lower():
              return s1
--- 239,250 ----
              
      def strcmp(self, s1, s2):
+         s1 = Unicode(s1)
+         s2 = Unicode(s2)
+         
          if not s1 or not s2:
              return s1 or s2
          if s1 == various or s2 == various:
              return various
! 
          if s1.replace(' ', '').lower() == s2.replace(' ', '').lower():
              return s1



-------------------------------------------------------
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

Reply via email to