From ffa46bfd9ce7ee7bdcba96ab07742fab0dbe6915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 20 Feb 2020 15:38:07 +0900 Subject: [PATCH] xhtml_style: update fckeditor to comply with coding style Because this old editor field is deprecated in favor of the new gadget based CKEditor, this is the minimum to get coding style test passing. - disable pylint - re-export with new extensions (.obj -> .bin) --- .../{spellchecker.cfm.obj => spellchecker.cfm.bin} | 0 .../server-scripts/{spellchecker.pl.obj => spellchecker.pl.bin} | 0 .../filemanager/browser/zope/connectors/connectorCPS.py.py | 1 + .../editor/filemanager/browser/zope/connectors/connectorERP5.py | 1 + .../filemanager/browser/zope/connectors/connectorPlone.py.py | 1 + .../SkinTemplateItem/portal_skins/erp5_fckeditor/resolveUid.py | 1 + 6 files changed, 4 insertions(+) rename product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/{spellchecker.cfm.obj => spellchecker.cfm.bin} (100%) rename product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/{spellchecker.pl.obj => spellchecker.pl.bin} (100%) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm.obj b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm.bin similarity index 100% rename from product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm.obj rename to product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm.bin diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl.obj b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl.bin similarity index 100% rename from product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl.obj rename to product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl.bin diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorCPS.py.py b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorCPS.py.py index 725557620c..4c28a27b11 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorCPS.py.py +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorCPS.py.py @@ -1,3 +1,4 @@ +# pylint: disable-all from Products.PythonScripts.standard import html_quote from Products.CMFCore.utils import getToolByName from Products.FCKeditor.utils import fckCreateValidZopeId diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorERP5.py b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorERP5.py index 10aacf5988..da6a0732f6 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorERP5.py +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorERP5.py @@ -1,3 +1,4 @@ +# pylint: disable-all from Products.PythonScripts.standard import html_quote from Products.CMFCore.utils import getToolByName diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorPlone.py.py b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorPlone.py.py index 5c83c0cccc..0f774b4022 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorPlone.py.py +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/editor/filemanager/browser/zope/connectors/connectorPlone.py.py @@ -1,3 +1,4 @@ +# pylint: disable-all from Products.PythonScripts.standard import html_quote from Products.CMFCore.utils import getToolByName from Products.FCKeditor.utils import fckCreateValidZopeId diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/resolveUid.py b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/resolveUid.py index 6d7b8ce527..829b231bfa 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/resolveUid.py +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_fckeditor/resolveUid.py @@ -1,3 +1,4 @@ +# pylint: disable-all from Products.CMFCore.utils import getToolByName from Products.PythonScripts.standard import html_quote -- 2.30.9