[Erp5-report] r35211 nicolas - /erp5/trunk/products/ERP5/PropertySheet/Data.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 12 14:58:34 CEST 2010
Author: nicolas
Date: Wed May 12 14:58:32 2010
New Revision: 35211
URL: http://svn.erp5.org?rev=35211&view=rev
Log:
Extend Data propertysheet to handle size of files
Modified:
erp5/trunk/products/ERP5/PropertySheet/Data.py
Modified: erp5/trunk/products/ERP5/PropertySheet/Data.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/Data.py?rev=35211&r1=35210&r2=35211&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Data.py [utf8] (original)
+++ erp5/trunk/products/ERP5/PropertySheet/Data.py [utf8] Wed May 12 14:58:32 2010
@@ -1,6 +1,7 @@
+# -*- coding: utf-8 -*-
##############################################################################
#
-# Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved.
+# Copyright (c) 2010 Nexedi SA and Contributors. All Rights Reserved.
# Jean-Paul Smets <jp at nexedi.com>
#
# WARNING: This program as such is intended to be used by professional
@@ -43,4 +44,9 @@
'type' : 'string',
'default' : 'application/unknown',
'mode' : 'w' },
+ { 'id' : 'size',
+ 'description' : 'Size in bytes of the data',
+ 'type' : 'int',
+ 'default' : 0,
+ 'mode' : 'w' },
)
More information about the Erp5-report
mailing list