Update of /cvsroot/freevo/freevo/src/image
In directory sc8-pr-cvs1:/tmp/cvs-serv8162

Modified Files:
        bins.py 
Log Message:
use the new text format function

Index: bins.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/image/bins.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** bins.py     16 Mar 2003 19:28:04 -0000      1.5
--- bins.py     20 Mar 2003 15:42:58 -0000      1.6
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.6  2003/03/20 15:42:58  dischi
+ # use the new text format function
+ #
  # Revision 1.5  2003/03/16 19:28:04  dischi
  # Item has a function getattr to get the attribute as string
***************
*** 139,147 ****
       # remove whitespace at the beginning
       for d in dh.desc:
!          while len(dh.desc[d]) and dh.desc[d][0] in (' ', '\t', '\n'):
!              dh.desc[d] = dh.desc[d][1:]
       for d in dh.exif:
!          while len(dh.exif[d]) and dh.exif[d][0] in (' ', '\t', '\n'):
!              dh.exif[d] = dh.exif[d][1:]
  
       return {'desc':dh.desc , 'exif':dh.exif}
--- 142,148 ----
       # remove whitespace at the beginning
       for d in dh.desc:
!          dh.desc[d] = util.format_text(dh.desc[d])
       for d in dh.exif:
!          dh.exif[d] = util.format_text(dh.exif[d])
  
       return {'desc':dh.desc , 'exif':dh.exif}




-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to