Duncan Webb wrote: > Modified: branches/rel-1/freevo/src/item.py > ============================================================================== > --- branches/rel-1/freevo/src/item.py (original) > +++ branches/rel-1/freevo/src/item.py Mon Jan 8 19:57:43 2007 > @@ -471,4 +471,4 @@ > return self.__getitem__(attr) > else: > r = self.__getitem__(attr) > - return Unicode(r) > + return Unicode(str(r))
Unicode should use str() if the object is neither str nor
unicode. This patch shouldn't do anything, except crash if r is
already unicode.
Dischi
--
recursive
see: recursive
-RfC 1983
pgpnjYJixX0ya.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
