From 743ba9243c61c5b5fd558c01d0c5fda0dccca844 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Wed, 25 Nov 2015 13:19:38 +0100 Subject: [PATCH] cleanup: remove 'NO-BREAK SPACE' (U+00A0) --- .../portal_categories/gap/fr/pca/1/11/119.xml | 2 +- .../portal_categories/gap/fr/pca/4/45.xml | 2 +- .../portal_categories/gap/fr/pca/6/67/678.xml | 2 +- bt5/erp5_advanced_invoicing/bt/change_log | 2 +- .../your_explanation.xml | 2 +- .../EventPath_view/my_destination_title.xml | 2 +- ...y_default_event_path_destination_title.xml | 2 +- ...y_default_event_path_destination_title.xml | 2 +- bt5/erp5_invoicing/bt/change_log | 20 +++++++++---------- .../my_source_administration_title.xml | 2 +- .../ERP5Site_viewMyTaskListGadget/listbox.xml | 2 +- .../listbox.xml | 2 +- .../ImageTileTransformed_view/listbox.xml | 2 +- .../erp5_safeimage/ImageTile_view/listbox.xml | 2 +- bt5/erp5_simplified_invoicing/bt/change_log | 2 +- .../listbox.xml | 2 +- .../listbox.xml | 2 +- .../WebSection_getCategoryList.xml | 2 +- .../document.erp5.ScriptConstraint.py | 2 +- .../ERP5AccessTokenExtractionPlugin.py | 6 +++--- product/ERP5Type/dynamic/component_package.py | 2 +- product/ZSQLCatalog/tests/testSQLCatalog.py | 4 ++-- 22 files changed, 34 insertions(+), 34 deletions(-) diff --git a/bt5/erp5_accounting_l10n_fr_pca/PathTemplateItem/portal_categories/gap/fr/pca/1/11/119.xml b/bt5/erp5_accounting_l10n_fr_pca/PathTemplateItem/portal_categories/gap/fr/pca/1/11/119.xml index a005b53cba..7a37cf7f8e 100644 --- a/bt5/erp5_accounting_l10n_fr_pca/PathTemplateItem/portal_categories/gap/fr/pca/1/11/119.xml +++ b/bt5/erp5_accounting_l10n_fr_pca/PathTemplateItem/portal_categories/gap/fr/pca/1/11/119.xml @@ -72,7 +72,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>Report à nouveau (solde débiteur) </string> </value> + <value> <string>Report à nouveau (solde débiteur)</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_accounting_l10n_fr_pca/PathTemplateItem/portal_categories/gap/fr/pca/4/45.xml b/bt5/erp5_accounting_l10n_fr_pca/PathTemplateItem/portal_categories/gap/fr/pca/4/45.xml index 862262d0c4..4ea7d6efcc 100644 --- a/bt5/erp5_accounting_l10n_fr_pca/PathTemplateItem/portal_categories/gap/fr/pca/4/45.xml +++ b/bt5/erp5_accounting_l10n_fr_pca/PathTemplateItem/portal_categories/gap/fr/pca/4/45.xml @@ -90,7 +90,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>CONFEDERATION, FEDERATION, UNION, ASSOCIATIONS AFFILIEES ET SOCIETAIRES </string> </value> + <value> <string>CONFEDERATION, FEDERATION, UNION, ASSOCIATIONS AFFILIEES ET SOCIETAIRES</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_accounting_l10n_fr_pca/PathTemplateItem/portal_categories/gap/fr/pca/6/67/678.xml b/bt5/erp5_accounting_l10n_fr_pca/PathTemplateItem/portal_categories/gap/fr/pca/6/67/678.xml index cc542b14fa..0fed51b7fa 100644 --- a/bt5/erp5_accounting_l10n_fr_pca/PathTemplateItem/portal_categories/gap/fr/pca/6/67/678.xml +++ b/bt5/erp5_accounting_l10n_fr_pca/PathTemplateItem/portal_categories/gap/fr/pca/6/67/678.xml @@ -72,7 +72,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>Autres charges exceptionnelles </string> </value> + <value> <string>Autres charges exceptionnelles</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_advanced_invoicing/bt/change_log b/bt5/erp5_advanced_invoicing/bt/change_log index 15c75b4ca5..9783a7edb8 100644 --- a/bt5/erp5_advanced_invoicing/bt/change_log +++ b/bt5/erp5_advanced_invoicing/bt/change_log @@ -40,4 +40,4 @@ set quantity unit on invoice lines 2009-06-19 tatuya - * initial creation so that it enables to create invoices independently \ No newline at end of file + * initial creation so that it enables to create invoices independently \ No newline at end of file diff --git a/bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_consulting/BusinessConfiguration_viewConfigurePortalTypeRolesDialog/your_explanation.xml b/bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_consulting/BusinessConfiguration_viewConfigurePortalTypeRolesDialog/your_explanation.xml index 83fbfa795f..3c7bb865df 100644 --- a/bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_consulting/BusinessConfiguration_viewConfigurePortalTypeRolesDialog/your_explanation.xml +++ b/bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_consulting/BusinessConfiguration_viewConfigurePortalTypeRolesDialog/your_explanation.xml @@ -221,7 +221,7 @@ Tips: <br>\n <br>\n -<li> You can use this sample file <a href="standard_portal_types_roles.ods"> Consulting.Configurator.Sample.Roles.Configuration.Sheet.ods </a></li> +<li> You can use this sample file <a href="standard_portal_types_roles.ods">Consulting.Configurator.Sample.Roles.Configuration.Sheet.ods</a></li> ]]></string> </value> </item> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventPath_view/my_destination_title.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventPath_view/my_destination_title.xml index 9ae3fa4417..89c10230cb 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventPath_view/my_destination_title.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EventPath_view/my_destination_title.xml @@ -91,7 +91,7 @@ <list> <tuple> <string>Domain</string> - <string> Domain</string> + <string>Domain</string> </tuple> </list> </value> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewCommunicationPlan/my_default_event_path_destination_title.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewCommunicationPlan/my_default_event_path_destination_title.xml index 4a89d37416..1d6101db6e 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewCommunicationPlan/my_default_event_path_destination_title.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewCommunicationPlan/my_default_event_path_destination_title.xml @@ -107,7 +107,7 @@ <list> <tuple> <string>Domain</string> - <string> Domain</string> + <string>Domain</string> </tuple> </list> </value> diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewCreateEventFromEventPathDialog/my_default_event_path_destination_title.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewCreateEventFromEventPathDialog/my_default_event_path_destination_title.xml index 159fba2397..cd336560d8 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewCreateEventFromEventPathDialog/my_default_event_path_destination_title.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Ticket_viewCreateEventFromEventPathDialog/my_default_event_path_destination_title.xml @@ -108,7 +108,7 @@ <list> <tuple> <string>Domain</string> - <string> Domain</string> + <string>Domain</string> </tuple> </list> </value> diff --git a/bt5/erp5_invoicing/bt/change_log b/bt5/erp5_invoicing/bt/change_log index a84e3cb7a2..0939935c72 100644 --- a/bt5/erp5_invoicing/bt/change_log +++ b/bt5/erp5_invoicing/bt/change_log @@ -2,7 +2,7 @@ * Fix InvoiceTransaction_zSelectMovement. Maximum rows to retrieve is now 100. If there are more simulation movements then the rest is built next building time. 2011-11-04 tatuya -* Add default_tax_rule reference into InvoiceTransaction_selectInvoiceMovement because it was wrongly removed at c7f1a35c1abdb9f93c6353c5024aaa47bf6505e0 when replacing to specify the portal type with the rule reference. +* Add default_tax_rule reference into InvoiceTransaction_selectInvoiceMovement because it was wrongly removed at c7f1a35c1abdb9f93c6353c5024aaa47bf6505e0 when replacing to specify the portal type with the rule reference. 2011-10-12 Kazuhiko * Fix the issue that a Invoice document can wrongly have a needless Root Applied Rule when it is created by Delivery Builder with a site which has many activity nodes. @@ -48,7 +48,7 @@ * Move out old tax and discount system. 2009-07-09 tatuya -* Append Japanese localized invoice style-sheet fixing font setting. To avoid hand modification after printing Japanese invoice. +* Append Japanese localized invoice style-sheet fixing font setting. To avoid hand modification after printing Japanese invoice. 2009-07-03 romain * Revert latest proxy field library simplification, as the design was not finalized. @@ -57,22 +57,22 @@ * the erp5_invoicing is split into three business templates; 'erp5_invoicing', 'erp5_simplified_invoicing' and 'erp5_advanced_invoicing'. -the erp5_invoicing now only have common invoicing setting. -- When you want them to work compatible with previous erp5_invoicing +the erp5_invoicing now only have common invoicing setting. +- When you want them to work compatible with previous erp5_invoicing you just install 'erp5_invoicing' and 'erp5_simplified_invoicing' - When you want to create invoices independently, you just install 'erp5_invoicing' and 'erp5_advanced_invoicing'. Note: You can not install both 'erp5_simplified_invoicing' and 'erp5_advanced_invoicing' together. They cause conflicts. -* Move Allowed Content Type  'Discount Line', 'Invoice Line', 'Payment +* Move Allowed Content Type 'Discount Line', 'Invoice Line', 'Payment Condition', - 'Tax Line' to erp5_simplified_invoicing + 'Tax Line' to erp5_simplified_invoicing * Move Base Category 'specialise' to erp5_simplified_invoicing -* Move  Actions  to erp5_simplified_invoicing +* Move Actions to erp5_simplified_invoicing * Move Paths 'purchase_invoice_builder', - 'purchase_invoice_tax_builder', 'purchase_invoice_transaction_builder' - 'sale_invoice_builder', 'sale_invoice_tax_builder', - 'sale_invoice_transaction_builder' to erp5_simplified_invoicing + 'purchase_invoice_tax_builder', 'purchase_invoice_transaction_builder' + 'sale_invoice_builder', 'sale_invoice_tax_builder', + 'sale_invoice_transaction_builder' to erp5_simplified_invoicing 2009-05-18 yusei * Fix some proxy fields. proxy_listbox_ids had to be copied to new proxified fields but it was not copied. diff --git a/bt5/erp5_payment_mean/SkinTemplateItem/portal_skins/erp5_payment_mean/PaymentTransactionGroup_view/my_source_administration_title.xml b/bt5/erp5_payment_mean/SkinTemplateItem/portal_skins/erp5_payment_mean/PaymentTransactionGroup_view/my_source_administration_title.xml index 228b81c25b..766c000fb3 100644 --- a/bt5/erp5_payment_mean/SkinTemplateItem/portal_skins/erp5_payment_mean/PaymentTransactionGroup_view/my_source_administration_title.xml +++ b/bt5/erp5_payment_mean/SkinTemplateItem/portal_skins/erp5_payment_mean/PaymentTransactionGroup_view/my_source_administration_title.xml @@ -111,7 +111,7 @@ <list> <tuple> <string>Person</string> - <string> Person</string> + <string>Person</string> </tuple> </list> </value> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ERP5Site_viewMyTaskListGadget/listbox.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ERP5Site_viewMyTaskListGadget/listbox.xml index c94aeef0f8..5ea6ad6d1b 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ERP5Site_viewMyTaskListGadget/listbox.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ERP5Site_viewMyTaskListGadget/listbox.xml @@ -178,7 +178,7 @@ <list> <tuple> <string>Task Report</string> - <string> Task Report</string> + <string>Task Report</string> </tuple> </list> </value> diff --git a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ERP5Site_viewTaskListOverviewGadget/listbox.xml b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ERP5Site_viewTaskListOverviewGadget/listbox.xml index 398deaafd6..4606f8e220 100644 --- a/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ERP5Site_viewTaskListOverviewGadget/listbox.xml +++ b/bt5/erp5_project/SkinTemplateItem/portal_skins/erp5_project/ERP5Site_viewTaskListOverviewGadget/listbox.xml @@ -173,7 +173,7 @@ <list> <tuple> <string>Task Report</string> - <string> Task Report</string> + <string>Task Report</string> </tuple> </list> </value> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/listbox.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/listbox.xml index e841833bb7..28e0d503ba 100644 --- a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/listbox.xml +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTileTransformed_view/listbox.xml @@ -137,7 +137,7 @@ <list> <tuple> <string>Date</string> - <string> asc</string> + <string>asc</string> </tuple> </list> </value> diff --git a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/listbox.xml b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/listbox.xml index c3c6b5f2bb..3a9d1f625f 100644 --- a/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/listbox.xml +++ b/bt5/erp5_safeimage/SkinTemplateItem/portal_skins/erp5_safeimage/ImageTile_view/listbox.xml @@ -137,7 +137,7 @@ <list> <tuple> <string>Date</string> - <string> asc</string> + <string>asc</string> </tuple> </list> </value> diff --git a/bt5/erp5_simplified_invoicing/bt/change_log b/bt5/erp5_simplified_invoicing/bt/change_log index bf39ed3d51..94ba694988 100644 --- a/bt5/erp5_simplified_invoicing/bt/change_log +++ b/bt5/erp5_simplified_invoicing/bt/change_log @@ -17,4 +17,4 @@ * set quantity unit on invoice lines 2009-06-19 tatuya - * initial creation, splitting from erp5_invoicing \ No newline at end of file + * initial creation, splitting from erp5_invoicing \ No newline at end of file diff --git a/bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestNodeModule_viewTestNodeList/listbox.xml b/bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestNodeModule_viewTestNodeList/listbox.xml index 218ea1401c..d7d83be4dc 100644 --- a/bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestNodeModule_viewTestNodeList/listbox.xml +++ b/bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestNodeModule_viewTestNodeList/listbox.xml @@ -175,7 +175,7 @@ <list> <tuple> <string>Date</string> - <string> asc</string> + <string>asc</string> </tuple> </list> </value> diff --git a/bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestSuiteModule_viewTestSuiteList/listbox.xml b/bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestSuiteModule_viewTestSuiteList/listbox.xml index 275e8e3252..7fe06fcc91 100644 --- a/bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestSuiteModule_viewTestSuiteList/listbox.xml +++ b/bt5/erp5_test_result/SkinTemplateItem/portal_skins/erp5_test_result/TestSuiteModule_viewTestSuiteList/listbox.xml @@ -159,7 +159,7 @@ <list> <tuple> <string>Date</string> - <string> asc</string> + <string>asc</string> </tuple> </list> </value> diff --git a/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getCategoryList.xml b/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getCategoryList.xml index fa20e6f0be..af435be0ac 100644 --- a/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getCategoryList.xml +++ b/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getCategoryList.xml @@ -69,7 +69,7 @@ subject_list = []\n for item in current_section.WebSection_getDocumentValueList(): # XXX-JPS - this will fail for performance reasons\n subject_list.extend([x for x in item.getSubjectList() if not x in subject_list])\n \n -## Now, build the object list so that a Listbox can be used to display the results of this script.\n +## Now, build the object list so that a Listbox can be used to display the results of this script.\n result = []\n \n class Category:\n diff --git a/product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.ScriptConstraint.py b/product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.ScriptConstraint.py index d2bcdd8e49..df3a7619cb 100644 --- a/product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.ScriptConstraint.py +++ b/product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.ScriptConstraint.py @@ -37,7 +37,7 @@ class ScriptConstraint(ConstraintMixin): portal_type = 'Script Constraint' def _createConsistencyMessage(self, object_relative_url, message): - # XXX If I put in the right place I have TypeError: 'NoneType' object is not callable + # XXX If I put in the right place I have TypeError: 'NoneType' object is not callable from Products.ERP5Type.ConsistencyMessage import ConsistencyMessage return ConsistencyMessage(self, object_relative_url=object_relative_url, diff --git a/product/ERP5Security/ERP5AccessTokenExtractionPlugin.py b/product/ERP5Security/ERP5AccessTokenExtractionPlugin.py index b47d9aa5c1..2c95c35d51 100644 --- a/product/ERP5Security/ERP5AccessTokenExtractionPlugin.py +++ b/product/ERP5Security/ERP5AccessTokenExtractionPlugin.py @@ -72,9 +72,9 @@ class ERP5AccessTokenExtractionPlugin(BasePlugin): if token is not None: token_document = self.getPortalObject().access_token_module.\ _getOb(token, None) - # Access Token should be validated - # Check restricted access of URL - # Extract login information + # Access Token should be validated + # Check restricted access of URL + # Extract login information if token_document is not None: external_login = None method = token_document._getTypeBasedMethod('getExternalLogin') diff --git a/product/ERP5Type/dynamic/component_package.py b/product/ERP5Type/dynamic/component_package.py index b842fe30c3..7bd0c1536b 100644 --- a/product/ERP5Type/dynamic/component_package.py +++ b/product/ERP5Type/dynamic/component_package.py @@ -101,7 +101,7 @@ class ComponentDynamicPackage(ModuleType): # When installing ERP5 site, erp5_core_components has not been installed # yet, thus this will obviously failed... # - # XXX-arnau: Is this needed as it is now done in synchronizeDynamicModules? + # XXX-arnau: Is this needed as it is now done in synchronizeDynamicModules? except AttributeError: return {} diff --git a/product/ZSQLCatalog/tests/testSQLCatalog.py b/product/ZSQLCatalog/tests/testSQLCatalog.py index 8f637cbb3c..1771c2aa10 100644 --- a/product/ZSQLCatalog/tests/testSQLCatalog.py +++ b/product/ZSQLCatalog/tests/testSQLCatalog.py @@ -698,7 +698,7 @@ class TestSQLCatalog(ERP5TypeTestCase): # upgrade path from old ZSQLCatalog versions where pre-mapped columns were # used in their select_expression. This must only happen in the # "{column: None}" form, as otherwise it's the user explicitely asking for - # such alias (which is not strictly invalid). + # such alias (which is not strictly invalid). sql_expression = self.asSQLExpression({'select_dict': { 'foo.default': None, 'foo.keyword': 'foo.keyword', @@ -708,7 +708,7 @@ class TestSQLCatalog(ERP5TypeTestCase): self.assertFalse('foo.default' in select_dict, select_dict) self.assertTrue('foo.keyword' in select_dict, select_dict) # Variant: same operation, but this time stripping generates an ambiguity. - # That must be detected and cause a mapping exception. + # That must be detected and cause a mapping exception. self.assertRaises(ValueError, self.asSQLExpression, {'select_dict': { 'foo.ambiguous_mapping': None, 'bar.ambiguous_mapping': None, -- GitLab