Update of /cvsroot/freevo/freevo/WIP/Dischi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2495/WIP/Dischi

Modified Files:
        pickle_check.py 
Log Message:
fix unicode handling

Index: pickle_check.py
===================================================================
RCS file: /cvsroot/freevo/freevo/WIP/Dischi/pickle_check.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** pickle_check.py     1 Feb 2004 18:06:31 -0000       1.4
--- pickle_check.py     5 Feb 2004 19:26:41 -0000       1.5
***************
*** 17,29 ****
      for k in data:
          print '%s:' % k
!         for var in data[k][0]:
!             if var in ( 'video', 'audio' ):
!                 print '  %-20s:' % var
!                 for elem in data[k][0][var]:
!                     for subtype in elem:
!                         print '    %-18s: %s' % (subtype, elem[subtype])
!                     print
!             else:
!                 print '  %-20s: %s' % (var, data[k][0][var])
          print
          
--- 17,32 ----
      for k in data:
          print '%s:' % k
!         if isinstance(data[k][0], dict):
!             for var in data[k][0]:
!                 if var in ( 'video', 'audio' ):
!                     print '  %-20s:' % var
!                     for elem in data[k][0][var]:
!                         for subtype in elem:
!                             print '    %-18s: %s' % (subtype, elem[subtype])
!                         print
!                 else:
!                     print '  %-20s: %s' % (var, data[k][0][var])
!         else:
!             print data[k][0]
          print
          



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