From 37bf0861fb260b6a7eaa260d4d18149e9851c33c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 28 Oct 2011 10:57:31 +0200 Subject: [PATCH] remove trailing spaces --- tests/test_product.py | 2 +- uom.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_product.py b/tests/test_product.py index 63c7adec53..c59cfa4153 100644 --- a/tests/test_product.py +++ b/tests/test_product.py @@ -186,7 +186,7 @@ class ProductTestCase(unittest.TestCase): [ ('name', '=', to_name), ], limit=1)[0]) - self.assert_(result == self.uom.compute_price(from_uom, + self.assert_(result == self.uom.compute_price(from_uom, price, to_uom)) def suite(): diff --git a/uom.py b/uom.py index 9d6d957ff4..c472a99748 100644 --- a/uom.py +++ b/uom.py @@ -279,7 +279,7 @@ class Uom(ModelSQL, ModelView): process_args(args[i]) i += 1 process_args(args) - return super(Uom, self).search(args, offset=offset, limit=limit, + return super(Uom, self).search(args, offset=offset, limit=limit, order=order, count=count, query_string=query_string)