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
Laurent S
erp5
Commits
6dd52868
Commit
6dd52868
authored
Jun 16, 2014
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Remove temporary `try .. except Exception`
parent
f792593e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Alarm_checkSkinCacheActive.xml
..._skins/erp5_administration/Alarm_checkSkinCacheActive.xml
+1
-3
bt5/erp5_administration/bt/revision
bt5/erp5_administration/bt/revision
+1
-1
No files found.
bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/Alarm_checkSkinCacheActive.xml
View file @
6dd52868
...
...
@@ -100,9 +100,7 @@ def execute(skin):\n
execute(o)\n
\n
for skin in context.portal_skins.objectValues():\n
try: execute(skin)\n
except Exception as e: incorrect_file_absolute_url_list.append(str(e))\n
\n
execute(skin)\n
\n
if incorrect_file_absolute_url_list != []:\n
return ActiveResult(severity=100, detail="There is no cache set for:\\n" + "\\n".join(incorrect_file_absolute_url_list))\n
...
...
bt5/erp5_administration/bt/revision
View file @
6dd52868
16
4
16
5
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