[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container/Views/Browser - Contents.py:1.17

runyaga runyaga@thisbox.com
Wed, 4 Dec 2002 09:11:53 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv5836

Modified Files:
	Contents.py 
Log Message:
make dictionaryu for easier path expressions.



=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/Contents.py 1.16 => 1.17 ===
--- Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/Contents.py:1.16	Wed Dec  4 08:56:12 2002
+++ Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/Contents.py	Wed Dec  4 09:11:53 2002
@@ -48,8 +48,8 @@
             if title:
                 info['title'] = title
 
-            info['size'] = getSize(item[1])
-
+            magnitude, label = getSize(item[1])
+            info['size'] = {'size':magnitude, 'label':label}
             created = dc.created
             if created is not None:
                 info['created'] = formatTime(created)