Author: duncan
Date: Tue Dec 26 22:59:46 2006
New Revision: 8814

Modified:
   branches/rel-1/freevo/src/video/__init__.py

Log:
FileInformation is required by shopping cart
Fix applied


Modified: branches/rel-1/freevo/src/video/__init__.py
==============================================================================
--- branches/rel-1/freevo/src/video/__init__.py (original)
+++ branches/rel-1/freevo/src/video/__init__.py Tue Dec 26 22:59:46 2006
@@ -125,8 +125,8 @@
                         # create new name
                         name = file[:pos] + file[pos:].replace('1', '1-%s' % 
end, 1)
                         x = VideoItem(name, parent)
+                        x.files = FileInformation()
                         x.set_url(file, True)
-                        x.files = []
                         for f in [ file ] + add_file:
                             x.files.append(f)
                             x.subitems.append(VideoItem(f, x))

-------------------------------------------------------------------------
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-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to