[Erp5-report] r20753 - /erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 22 16:05:39 CEST 2008


Author: nicolas
Date: Tue Apr 22 16:05:38 2008
New Revision: 20753

URL: http://svn.erp5.org?rev=20753&view=rev
Log:
Default values are integer type not string

Modified:
    erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py

Modified: erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py?rev=20753&r1=20752&r2=20753&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/HtmlStylePreference.py Tue Apr 22 16:05:38 2008
@@ -123,38 +123,38 @@
     { 'id'          : 'preferred_thumbnail_image_height',
       'description' : 'The height for thumbnail image.The unit is the pixel',
       'type'        : 'int',
-      'default'     : '128',
+      'default'     : 128,
       'preference'  : 1,
       'mode'        : 'w' },
     { 'id'          : 'preferred_thumbnail_image_width',
       'description' : 'The width for thumbnail image.The unit is the pixel',
       'type'        : 'int',
-      'default'     : '128',
+      'default'     : 128,
       'preference'  : 1,
       'mode'        : 'w' },
     { 'id'          : 'preferred_xsmall_image_height',
       'description' : 'The height for thumbnail image.The unit is the pixel',
       'type'        : 'int',
-      'default'     : '200',
+      'default'     : 200,
       'preference'  : 1,
       'mode'        : 'w' },
     { 'id'          : 'preferred_xsmall_image_width',
       'description' : 'The width for xsmall image.The unit is the pixel',
       'type'        : 'int',
-      'default'     : '200',
+      'default'     : 200,
       'preference'  : 1,
       'mode'        : 'w' },
 
     { 'id'          : 'preferred_small_image_height',
       'description' : 'The height for small image.The unit is the pixel',
       'type'        : 'int',
-      'default'     : '320',
+      'default'     : 320,
       'preference'  : 1,
       'mode'        : 'w' },
     { 'id'          : 'preferred_small_image_width',
       'description' : 'The width for small image.The unit is the pixel',
       'type'        : 'int',
-      'default'     : '320',
+      'default'     : 320,
       'preference'  : 1,
       'mode'        : 'w' },
 
@@ -167,32 +167,32 @@
     { 'id'          : 'preferred_medium_image_width',
       'description' : 'The width for medium image.The unit is the pixel',
       'type'        : 'int',
-      'default'     : '480',
+      'default'     : 480,
       'preference'  : 1,
       'mode'        : 'w' },
 
     { 'id'          : 'preferred_large_image_height',
       'description' : 'The height for large image.The unit is the pixel',
       'type'        : 'int',
-      'default'     : '768',
+      'default'     : 768,
       'preference'  : 1,
       'mode'        : 'w' },
     { 'id'          : 'preferred_large_image_width',
       'description' : 'The width for large image.The unit is the pixel',
       'type'        : 'int',
-      'default'     : '768',
+      'default'     : 768,
       'preference'  : 1,
       'mode'        : 'w' },
 
     { 'id'          : 'preferred_xlarge_image_height',
       'description' : 'The height for xlarge image.The unit is the pixel',
       'type'        : 'int',
-      'default'     : '1024',
+      'default'     : 1024,
       'preference'  : 1,
       'mode'        : 'w' },
     { 'id'          : 'preferred_xlarge_image_width',
       'description' : 'The width for xlarge image.The unit is the pixel',
       'type'        : 'int',
-      'default'     : '1024',
+      'default'     : 1024,
       'preference'  : 1,
       'mode'        : 'w' },)




More information about the Erp5-report mailing list