Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
dc2da7fd
Commit
dc2da7fd
authored
Mar 31, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
content_translation: fix pylint messages and enable coding style
parent
a093355c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
4 deletions
+1
-4
bt5/erp5_content_translation/SkinTemplateItem/portal_skins/erp5_content_translation/Base_editContentTranslationMessage.py
...content_translation/Base_editContentTranslationMessage.py
+0
-2
bt5/erp5_content_translation/SkinTemplateItem/portal_skins/erp5_content_translation/Base_isContentTranslationEnabled.py
...5_content_translation/Base_isContentTranslationEnabled.py
+1
-1
bt5/erp5_content_translation/bt/skip_coding_style_test
bt5/erp5_content_translation/bt/skip_coding_style_test
+0
-1
No files found.
bt5/erp5_content_translation/SkinTemplateItem/portal_skins/erp5_content_translation/Base_editContentTranslationMessage.py
View file @
dc2da7fd
from
Products.Formulator.Errors
import
FormValidationError
from
Products.CMFActivity.Errors
import
ActivityPendingError
from
Products.ERP5Type.Utils
import
convertToUpperCase
request
=
container
.
REQUEST
...
...
@@ -26,7 +25,6 @@ if not silent_mode and not request.AUTHENTICATED_USER.has_permission('Modify por
# Get the form
form
=
getattr
(
context
,
form_id
)
edit_order
=
form
.
edit_order
try
:
# Validate
...
...
bt5/erp5_content_translation/SkinTemplateItem/portal_skins/erp5_content_translation/Base_isContentTranslationEnabled.py
View file @
dc2da7fd
try
:
return
context
.
getTypeInfo
().
getContentTranslationDomainPropertyNameList
()
and
True
except
:
except
Exception
:
# First time after cache is cleared, something is wrong and does not work.
return
False
bt5/erp5_content_translation/bt/skip_coding_style_test
deleted
100644 → 0
View file @
a093355c
1
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment