[Erp5-report] r18934 - /erp5/trunk/products/ERP5Form/ScribusUtils.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jan 30 20:02:02 CET 2008
Author: fabien
Date: Wed Jan 30 20:02:01 2008
New Revision: 18934
URL: http://svn.erp5.org?rev=18934&view=rev
Log:
there was an error, I have forget parenthesis, sorry
Modified:
erp5/trunk/products/ERP5Form/ScribusUtils.py
Modified: erp5/trunk/products/ERP5Form/ScribusUtils.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/ScribusUtils.py?rev=18934&r1=18933&r2=18934&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/ScribusUtils.py (original)
+++ erp5/trunk/products/ERP5Form/ScribusUtils.py Wed Jan 30 20:02:01 2008
@@ -634,12 +634,10 @@
# remove the file from the system
result = commands.getstatusoutput('rm -f %s' % background_image)
-
-
size_x = int(real_size_x)
size_y = int(real_size_y)
LOG('ScribusUtils.setBackgroundPictures :', INFO,
- 'return size : x=%s, y=%s' % size_x, size_y)
+ 'return size : x=%s, y=%s' % (size_x, size_y))
return (size_x, size_y)
@@ -784,7 +782,8 @@
,page_id
,page_height
,page_width
- ,width_groups,height_groups):
+ ,width_groups
+ ,height_groups):
"""
recover all CSS data relative to the current page and save these
information in the output dict
More information about the Erp5-report
mailing list