summaryrefslogtreecommitdiff
path: root/addons/base_module_quality
diff options
context:
space:
mode:
authornicolas.bessi@camptocamp.com <>2010-11-25 17:46:14 +0100
committernicolas.bessi@camptocamp.com <>2010-11-25 17:46:14 +0100
commit8fd5c899832b557b3e8740e7546cd0ef1bc2cd58 (patch)
treee599a50afcb3db2bb23fe5e3151f9db1f0ec887f /addons/base_module_quality
parent0716a455a609d62b1b5b1d2e5358c9c943a5646b (diff)
parent37f2e927e71be71befccdbc6bd03abbffdd39b0e (diff)
[FIX][IMP] better error management
bzr revid: nicolas.bessi@camptocamp.com-20101125164614-62jaltk4xoy099zt
Diffstat (limited to 'addons/base_module_quality')
-rw-r--r--addons/base_module_quality/i18n/base_module_quality.pot172
-rw-r--r--addons/base_module_quality/i18n/sv.po207
-rw-r--r--addons/base_module_quality/speed_test/speed_test.py2
3 files changed, 215 insertions, 166 deletions
diff --git a/addons/base_module_quality/i18n/base_module_quality.pot b/addons/base_module_quality/i18n/base_module_quality.pot
index bb85db28146..bea867e429d 100644
--- a/addons/base_module_quality/i18n/base_module_quality.pot
+++ b/addons/base_module_quality/i18n/base_module_quality.pot
@@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0dev\n"
+"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-10-18 17:46:17+0000\n"
-"PO-Revision-Date: 2010-10-18 17:46:17+0000\n"
+"POT-Creation-Date: 2010-11-18 16:11:46+0000\n"
+"PO-Revision-Date: 2010-11-18 16:11:46+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -23,12 +23,6 @@ msgid "Suggestion"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/speed_test/speed_test.py:0
-#, python-format
-msgid "<html>O(1) means that the number of SQL requests to read the object does not depand on the number of objects we are reading. This feature is mostly wished.\n</html>"
-msgstr ""
-
-#. module: base_module_quality
#: code:addons/base_module_quality/base_module_quality.py:0
#, python-format
msgid "Programming Error"
@@ -46,11 +40,17 @@ msgid "Base module quality - To check the quality of other modules"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/structure_test/structure_test.py:0
+#: code:addons/base_module_quality/object_test/object_test.py:0
#, python-format
-msgid "\"\"\n"
-"This test checks if the module satisfy tiny structure\n"
-"\"\""
+msgid "\n"
+"Test checks for fields, views, security rules, dependancy level\n"
+""
+msgstr ""
+
+#. module: base_module_quality
+#: code:addons/base_module_quality/speed_test/speed_test.py:0
+#, python-format
+msgid "O(n) or worst"
msgstr ""
#. module: base_module_quality
@@ -59,12 +59,9 @@ msgid "Skipped"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/speed_test/speed_test.py:0
+#: code:addons/base_module_quality/method_test/method_test.py:0
#, python-format
-msgid "\"\"\n"
-"This test checks the speed of the module. Note that at least 5 demo data is needed in order to run it.\n"
-"\n"
-"\"\""
+msgid "Module has no objects"
msgstr ""
#. module: base_module_quality
@@ -115,14 +112,6 @@ msgid "Result of dependancy in %"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/method_test/method_test.py:0
-#, python-format
-msgid "\"\"\n"
-"This test checks if the module classes are raising exception when calling basic methods or not.\n"
-"\"\""
-msgstr ""
-
-#. module: base_module_quality
#: help:module.quality.detail,state:0
msgid "The test will be completed only if the module is installed or if the test may be processed on uninstalled module."
msgstr ""
@@ -134,11 +123,9 @@ msgid "Result (/10)"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/object_test/object_test.py:0
+#: code:addons/base_module_quality/terp_test/terp_test.py:0
#, python-format
-msgid "\"\"\n"
-"Test checks for fields, views, security rules, dependancy level\n"
-"\"\""
+msgid "Terp Test"
msgstr ""
#. module: base_module_quality
@@ -181,12 +168,6 @@ msgid "Warning"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/structure_test/structure_test.py:0
-#, python-format
-msgid "Feedback about structure of module"
-msgstr ""
-
-#. module: base_module_quality
#: code:addons/base_module_quality/unit_test/unit_test.py:0
#, python-format
msgid "Unit Test"
@@ -205,12 +186,8 @@ msgid "Result of pep8_test in %"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/unit_test/unit_test.py:0
-#, python-format
-msgid "\"\"\n"
-"This test checks the Unit Test(PyUnit) Cases of the module. Note that 'unit_test/test.py' is needed in module.\n"
-"\n"
-"\"\""
+#: sql_constraint:ir.module.module:0
+msgid "The name of the module must be unique !"
msgstr ""
#. module: base_module_quality
@@ -241,11 +218,8 @@ msgid "Some tests are more critical than others, so they have a bigger weight in
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/pep8_test/pep8_test.py:0
-#, python-format
-msgid "\"\"\n"
-"PEP-8 Test , copyright of py files check, method can not call from loops\n"
-"\"\""
+#: sql_constraint:ir.module.module:0
+msgid "The certificate ID of the module must be unique !"
msgstr ""
#. module: base_module_quality
@@ -283,12 +257,6 @@ msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/speed_test/speed_test.py:0
-#, python-format
-msgid "O(n) or worst"
-msgstr ""
-
-#. module: base_module_quality
#: wizard_field:quality_detail_save,init,module_file:0
msgid "Save report"
msgstr ""
@@ -300,12 +268,6 @@ msgid "This test checks where object has workflow or not on it if there is a sta
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/method_test/method_test.py:0
-#, python-format
-msgid "Module has no objects"
-msgstr ""
-
-#. module: base_module_quality
#: code:addons/base_module_quality/structure_test/structure_test.py:0
#, python-format
msgid "Result in %"
@@ -347,6 +309,13 @@ msgid "Note"
msgstr ""
#. module: base_module_quality
+#: code:addons/base_module_quality/speed_test/speed_test.py:0
+#, python-format
+msgid "<html>O(1) means that the number of SQL requests to read the object does not depand on the number of objects we are reading. This feature is mostly wished.\n"
+"</html>"
+msgstr ""
+
+#. module: base_module_quality
#: code:addons/base_module_quality/terp_test/terp_test.py:0
#, python-format
msgid "__openerp__.py file"
@@ -365,6 +334,15 @@ msgid "Tests"
msgstr ""
#. module: base_module_quality
+#: code:addons/base_module_quality/speed_test/speed_test.py:0
+#, python-format
+msgid "\n"
+"This test checks the speed of the module. Note that at least 5 demo data is needed in order to run it.\n"
+"\n"
+""
+msgstr ""
+
+#. module: base_module_quality
#: code:addons/base_module_quality/pylint_test/pylint_test.py:0
#, python-format
msgid "Unable to parse the result. Check the details."
@@ -372,6 +350,14 @@ msgstr ""
#. module: base_module_quality
#: code:addons/base_module_quality/structure_test/structure_test.py:0
+#, python-format
+msgid "\n"
+"This test checks if the module satisfy tiny structure\n"
+""
+msgstr ""
+
+#. module: base_module_quality
+#: code:addons/base_module_quality/structure_test/structure_test.py:0
#: code:addons/base_module_quality/workflow_test/workflow_test.py:0
#, python-format
msgid "Module Name"
@@ -414,12 +400,6 @@ msgid "Test Is Not Implemented"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/pylint_test/pylint_test.py:0
-#, python-format
-msgid "\"\"This test uses Pylint and checks if the module satisfies the coding standard of Python. See http://www.logilab.org/project/name/pylint for further info.\n \"\""
-msgstr ""
-
-#. module: base_module_quality
#: code:addons/base_module_quality/speed_test/speed_test.py:0
#, python-format
msgid "N"
@@ -431,9 +411,9 @@ msgid "Report Save"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/workflow_test/workflow_test.py:0
+#: code:addons/base_module_quality/structure_test/structure_test.py:0
#, python-format
-msgid "Feed back About Workflow of Module"
+msgid "Feedback about structure of module"
msgstr ""
#. module: base_module_quality
@@ -443,6 +423,19 @@ msgid "Given module has no objects.Speed test can work only when new objects are
msgstr ""
#. module: base_module_quality
+#: code:addons/base_module_quality/pylint_test/pylint_test.py:0
+#, python-format
+msgid "This test uses Pylint and checks if the module satisfies the coding standard of Python. See http://www.logilab.org/project/name/pylint for further info.\n"
+" "
+msgstr ""
+
+#. module: base_module_quality
+#: code:addons/base_module_quality/workflow_test/workflow_test.py:0
+#, python-format
+msgid "Feed back About Workflow of Module"
+msgstr ""
+
+#. module: base_module_quality
#: code:addons/base_module_quality/workflow_test/workflow_test.py:0
#, python-format
msgid "No Workflow define"
@@ -459,6 +452,11 @@ msgid "Cancel"
msgstr ""
#. module: base_module_quality
+#: sql_constraint:ir.model.fields:0
+msgid "Size of the field can never be less than 1 !"
+msgstr ""
+
+#. module: base_module_quality
#: field:module.quality.check,final_score:0
msgid "Final Score (%)"
msgstr ""
@@ -492,6 +490,23 @@ msgid "Workflow Test"
msgstr ""
#. module: base_module_quality
+#: code:addons/base_module_quality/unit_test/unit_test.py:0
+#, python-format
+msgid "\n"
+"This test checks the Unit Test(PyUnit) Cases of the module. Note that 'unit_test/test.py' is needed in module.\n"
+"\n"
+""
+msgstr ""
+
+#. module: base_module_quality
+#: code:addons/base_module_quality/method_test/method_test.py:0
+#, python-format
+msgid "\n"
+"This test checks if the module classes are raising exception when calling basic methods or not.\n"
+""
+msgstr ""
+
+#. module: base_module_quality
#: field:module.quality.detail,detail:0
msgid "Details"
msgstr ""
@@ -538,6 +553,23 @@ msgid "File name"
msgstr ""
#. module: base_module_quality
+#: model:ir.module.module,description:base_module_quality.module_meta_information
+msgid "\n"
+"The aim of this module is to check the quality of other modules.\n"
+"\n"
+"It defines a wizard on the list of modules in OpenERP, which allows you to\n"
+"evaluate them on different criteria such as: the respect of OpenERP coding\n"
+"standards, the speed efficiency...\n"
+"\n"
+"This module also provides generic framework to define your own quality test.\n"
+"For further info, coders may take a look into base_module_quality\\README.txt\n"
+"\n"
+"WARNING: This module can not work as a ZIP file, you must unzip it before\n"
+"using it, otherwise it may crash.\n"
+" "
+msgstr ""
+
+#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_module_quality_check
msgid "module.quality.check"
msgstr ""
@@ -610,12 +642,6 @@ msgid "Structure Test"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/terp_test/terp_test.py:0
-#, python-format
-msgid "Terp Test"
-msgstr ""
-
-#. module: base_module_quality
#: field:module.quality.detail,quality_check_id:0
msgid "Quality"
msgstr ""
diff --git a/addons/base_module_quality/i18n/sv.po b/addons/base_module_quality/i18n/sv.po
index dad291ee7d6..7029457a54c 100644
--- a/addons/base_module_quality/i18n/sv.po
+++ b/addons/base_module_quality/i18n/sv.po
@@ -1,19 +1,19 @@
# Translation of OpenERP Server.
-# This file containt the translation of the following modules:
+# This file contains the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
-"Project-Id-Version: OpenERP Server 6.0dev_rc3\n"
+"Project-Id-Version: OpenERP Server 5.0.14\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
-"POT-Creation-Date: 2010-10-18 17:46+0000\n"
-"PO-Revision-Date: 2009-11-09 16:43+0000\n"
-"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
+"POT-Creation-Date: 2010-11-18 16:11+0000\n"
+"PO-Revision-Date: 2010-11-23 09:27+0000\n"
+"Last-Translator: OpenERP Administrators <Unknown>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-10-30 05:49+0000\n"
+"X-Launchpad-Export-Date: 2010-11-24 05:06+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: base_module_quality
@@ -24,16 +24,6 @@ msgid "Suggestion"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/speed_test/speed_test.py:0
-#, python-format
-msgid ""
-"<html>O(1) means that the number of SQL requests to read the object does not "
-"depand on the number of objects we are reading. This feature is mostly "
-"wished.\n"
-"</html>"
-msgstr ""
-
-#. module: base_module_quality
#: code:addons/base_module_quality/base_module_quality.py:0
#, python-format
msgid "Programming Error"
@@ -51,12 +41,17 @@ msgid "Base module quality - To check the quality of other modules"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/structure_test/structure_test.py:0
+#: code:addons/base_module_quality/object_test/object_test.py:0
#, python-format
msgid ""
-"\"\"\n"
-"This test checks if the module satisfy tiny structure\n"
-"\"\""
+"\n"
+"Test checks for fields, views, security rules, dependancy level\n"
+msgstr ""
+
+#. module: base_module_quality
+#: code:addons/base_module_quality/speed_test/speed_test.py:0
+#, python-format
+msgid "O(n) or worst"
msgstr ""
#. module: base_module_quality
@@ -65,14 +60,9 @@ msgid "Skipped"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/speed_test/speed_test.py:0
+#: code:addons/base_module_quality/method_test/method_test.py:0
#, python-format
-msgid ""
-"\"\"\n"
-"This test checks the speed of the module. Note that at least 5 demo data is "
-"needed in order to run it.\n"
-"\n"
-"\"\""
+msgid "Module has no objects"
msgstr ""
#. module: base_module_quality
@@ -125,16 +115,6 @@ msgid "Result of dependancy in %"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/method_test/method_test.py:0
-#, python-format
-msgid ""
-"\"\"\n"
-"This test checks if the module classes are raising exception when calling "
-"basic methods or not.\n"
-"\"\""
-msgstr ""
-
-#. module: base_module_quality
#: help:module.quality.detail,state:0
msgid ""
"The test will be completed only if the module is installed or if the test "
@@ -148,12 +128,9 @@ msgid "Result (/10)"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/object_test/object_test.py:0
+#: code:addons/base_module_quality/terp_test/terp_test.py:0
#, python-format
-msgid ""
-"\"\"\n"
-"Test checks for fields, views, security rules, dependancy level\n"
-"\"\""
+msgid "Terp Test"
msgstr ""
#. module: base_module_quality
@@ -198,12 +175,6 @@ msgid "Warning"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/structure_test/structure_test.py:0
-#, python-format
-msgid "Feedback about structure of module"
-msgstr ""
-
-#. module: base_module_quality
#: code:addons/base_module_quality/unit_test/unit_test.py:0
#, python-format
msgid "Unit Test"
@@ -222,14 +193,8 @@ msgid "Result of pep8_test in %"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/unit_test/unit_test.py:0
-#, python-format
-msgid ""
-"\"\"\n"
-"This test checks the Unit Test(PyUnit) Cases of the module. Note that "
-"'unit_test/test.py' is needed in module.\n"
-"\n"
-"\"\""
+#: sql_constraint:ir.module.module:0
+msgid "The name of the module must be unique !"
msgstr ""
#. module: base_module_quality
@@ -262,12 +227,8 @@ msgid ""
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/pep8_test/pep8_test.py:0
-#, python-format
-msgid ""
-"\"\"\n"
-"PEP-8 Test , copyright of py files check, method can not call from loops\n"
-"\"\""
+#: sql_constraint:ir.module.module:0
+msgid "The certificate ID of the module must be unique !"
msgstr ""
#. module: base_module_quality
@@ -305,12 +266,6 @@ msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/speed_test/speed_test.py:0
-#, python-format
-msgid "O(n) or worst"
-msgstr ""
-
-#. module: base_module_quality
#: wizard_field:quality_detail_save,init,module_file:0
msgid "Save report"
msgstr ""
@@ -324,12 +279,6 @@ msgid ""
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/method_test/method_test.py:0
-#, python-format
-msgid "Module has no objects"
-msgstr ""
-
-#. module: base_module_quality
#: code:addons/base_module_quality/structure_test/structure_test.py:0
#, python-format
msgid "Result in %"
@@ -371,6 +320,16 @@ msgid "Note"
msgstr ""
#. module: base_module_quality
+#: code:addons/base_module_quality/speed_test/speed_test.py:0
+#, python-format
+msgid ""
+"<html>O(1) means that the number of SQL requests to read the object does not "
+"depand on the number of objects we are reading. This feature is mostly "
+"wished.\n"
+"</html>"
+msgstr ""
+
+#. module: base_module_quality
#: code:addons/base_module_quality/terp_test/terp_test.py:0
#, python-format
msgid "__openerp__.py file"
@@ -389,6 +348,16 @@ msgid "Tests"
msgstr ""
#. module: base_module_quality
+#: code:addons/base_module_quality/speed_test/speed_test.py:0
+#, python-format
+msgid ""
+"\n"
+"This test checks the speed of the module. Note that at least 5 demo data is "
+"needed in order to run it.\n"
+"\n"
+msgstr ""
+
+#. module: base_module_quality
#: code:addons/base_module_quality/pylint_test/pylint_test.py:0
#, python-format
msgid "Unable to parse the result. Check the details."
@@ -396,6 +365,14 @@ msgstr ""
#. module: base_module_quality
#: code:addons/base_module_quality/structure_test/structure_test.py:0
+#, python-format
+msgid ""
+"\n"
+"This test checks if the module satisfy tiny structure\n"
+msgstr ""
+
+#. module: base_module_quality
+#: code:addons/base_module_quality/structure_test/structure_test.py:0
#: code:addons/base_module_quality/workflow_test/workflow_test.py:0
#, python-format
msgid "Module Name"
@@ -438,16 +415,6 @@ msgid "Test Is Not Implemented"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/pylint_test/pylint_test.py:0
-#, python-format
-msgid ""
-"\"\"This test uses Pylint and checks if the module satisfies the coding "
-"standard of Python. See http://www.logilab.org/project/name/pylint for "
-"further info.\n"
-" \"\""
-msgstr ""
-
-#. module: base_module_quality
#: code:addons/base_module_quality/speed_test/speed_test.py:0
#, python-format
msgid "N"
@@ -459,9 +426,9 @@ msgid "Report Save"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/workflow_test/workflow_test.py:0
+#: code:addons/base_module_quality/structure_test/structure_test.py:0
#, python-format
-msgid "Feed back About Workflow of Module"
+msgid "Feedback about structure of module"
msgstr ""
#. module: base_module_quality
@@ -473,6 +440,21 @@ msgid ""
msgstr ""
#. module: base_module_quality
+#: code:addons/base_module_quality/pylint_test/pylint_test.py:0
+#, python-format
+msgid ""
+"This test uses Pylint and checks if the module satisfies the coding standard "
+"of Python. See http://www.logilab.org/project/name/pylint for further info.\n"
+" "
+msgstr ""
+
+#. module: base_module_quality
+#: code:addons/base_module_quality/workflow_test/workflow_test.py:0
+#, python-format
+msgid "Feed back About Workflow of Module"
+msgstr ""
+
+#. module: base_module_quality
#: code:addons/base_module_quality/workflow_test/workflow_test.py:0
#, python-format
msgid "No Workflow define"
@@ -489,6 +471,11 @@ msgid "Cancel"
msgstr ""
#. module: base_module_quality
+#: sql_constraint:ir.model.fields:0
+msgid "Size of the field can never be less than 1 !"
+msgstr ""
+
+#. module: base_module_quality
#: field:module.quality.check,final_score:0
msgid "Final Score (%)"
msgstr ""
@@ -525,6 +512,25 @@ msgid "Workflow Test"
msgstr ""
#. module: base_module_quality
+#: code:addons/base_module_quality/unit_test/unit_test.py:0
+#, python-format
+msgid ""
+"\n"
+"This test checks the Unit Test(PyUnit) Cases of the module. Note that "
+"'unit_test/test.py' is needed in module.\n"
+"\n"
+msgstr ""
+
+#. module: base_module_quality
+#: code:addons/base_module_quality/method_test/method_test.py:0
+#, python-format
+msgid ""
+"\n"
+"This test checks if the module classes are raising exception when calling "
+"basic methods or not.\n"
+msgstr ""
+
+#. module: base_module_quality
#: field:module.quality.detail,detail:0
msgid "Details"
msgstr ""
@@ -571,6 +577,26 @@ msgid "File name"
msgstr ""
#. module: base_module_quality
+#: model:ir.module.module,description:base_module_quality.module_meta_information
+msgid ""
+"\n"
+"The aim of this module is to check the quality of other modules.\n"
+"\n"
+"It defines a wizard on the list of modules in OpenERP, which allows you to\n"
+"evaluate them on different criteria such as: the respect of OpenERP coding\n"
+"standards, the speed efficiency...\n"
+"\n"
+"This module also provides generic framework to define your own quality "
+"test.\n"
+"For further info, coders may take a look into base_module_quality\\"
+"README.txt\n"
+"\n"
+"WARNING: This module can not work as a ZIP file, you must unzip it before\n"
+"using it, otherwise it may crash.\n"
+" "
+msgstr ""
+
+#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_module_quality_check
msgid "module.quality.check"
msgstr ""
@@ -643,12 +669,6 @@ msgid "Structure Test"
msgstr ""
#. module: base_module_quality
-#: code:addons/base_module_quality/terp_test/terp_test.py:0
-#, python-format
-msgid "Terp Test"
-msgstr ""
-
-#. module: base_module_quality
#: field:module.quality.detail,quality_check_id:0
msgid "Quality"
msgstr ""
@@ -658,3 +678,6 @@ msgstr ""
#, python-format
msgid "Feed back About terp file of Module"
msgstr ""
+
+#~ msgid "Base module quality"
+#~ msgstr "Base module quality"
diff --git a/addons/base_module_quality/speed_test/speed_test.py b/addons/base_module_quality/speed_test/speed_test.py
index d8445afcdee..611ada2c13e 100644
--- a/addons/base_module_quality/speed_test/speed_test.py
+++ b/addons/base_module_quality/speed_test/speed_test.py
@@ -113,7 +113,7 @@ This test checks the speed of the module. Note that at least 5 demo data is need
except Exception, e:
self.log.warning('Error in read method', exc_info=True)
list2 = [obj, _("Error in Read method")]
- speed_list = [obj, size, code_base_complexity, code_half_complexity, code_size_complexity, _("Error in Read method:" + str(e))]
+ speed_list = [obj, size, code_base_complexity, code_half_complexity, code_size_complexity, _("Error in Read method") + ": %s " % e]
else:
if size < 5:
speed_list = [obj, size, code_base_complexity, code_half_complexity, code_size_complexity, _("Warning! Not enough demo data")]