From b1f501a86cf856bbf4de7d4bc494b745e7c48480 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Thu, 5 Apr 2007 11:53:09 +0000 Subject: [PATCH] A list is expected as return value. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13973 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_base/CurrencyExchange_getExchangeRateList.xml | 2 +- bt5/erp5_base/bt/revision | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/CurrencyExchange_getExchangeRateList.xml b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/CurrencyExchange_getExchangeRateList.xml index 6589a59c67..4a075eb70b 100644 --- a/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/CurrencyExchange_getExchangeRateList.xml +++ b/bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/CurrencyExchange_getExchangeRateList.xml @@ -78,7 +78,7 @@ # Assumes that 2 currencies with the same ID, they are the same currency\n if from_currency is not None and to_currency is not None and \\\n [x for x in from_currency.split(\'/\') if x.strip()][-1] == [x for x in to_currency.split(\'/\') if x.strip()][-1]:\n - return 1\n + return [1]\n \n def sort_by_date(a, b):\n if a.getStartDateRangeMin() > b.getStartDateRangeMin() :\n diff --git a/bt5/erp5_base/bt/revision b/bt5/erp5_base/bt/revision index 21e72e8ac3..0fd0714a51 100644 --- a/bt5/erp5_base/bt/revision +++ b/bt5/erp5_base/bt/revision @@ -1 +1 @@ -48 +103 \ No newline at end of file -- 2.30.9