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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kasra Jamshidi
erp5
Commits
e46a312e
Commit
e46a312e
authored
Jun 16, 2014
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Remove temporary `try .. except Exception`
parent
2b694427
Changes
2
Show 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 @
e46a312e
...
...
@@ -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 @
e46a312e
164
\ No newline at end of file
165
\ 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