From 2336e12813cd3156c53b826357994ac05e6b96fa Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Wed, 30 Jan 2008 19:02:01 +0000 Subject: [PATCH] there was an error, I have forget parenthesis, sorry git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18934 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/ScribusUtils.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/product/ERP5Form/ScribusUtils.py b/product/ERP5Form/ScribusUtils.py index 79346c9a53..f7c6421952 100644 --- a/product/ERP5Form/ScribusUtils.py +++ b/product/ERP5Form/ScribusUtils.py @@ -634,12 +634,10 @@ class ManageFiles: # 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 @@ class ManageCSS: ,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 -- 2.30.9