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

Modified Files:
        item.py 
Log Message:
handle None returns as nothing for getattr


Index: item.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/item.py,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -d -r1.87 -r1.88
*** item.py     30 Dec 2004 11:31:51 -0000      1.87
--- item.py     7 Jan 2005 20:44:57 -0000       1.88
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.88  2005/01/07 20:44:57  dischi
+ # handle None returns as nothing for getattr
+ #
  # Revision 1.87  2004/12/30 11:31:51  dischi
  # rename id to __id__
***************
*** 447,450 ****
--- 450,455 ----
          else:
              r = self.__getitem__(attr)
+             if r == None:
+                 return ''
              return Unicode(r)
  



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to