Commit 6dd52868 authored by Tristan Cavelier's avatar Tristan Cavelier

Fix: Remove temporary `try .. except Exception`

parent f792593e
...@@ -100,9 +100,7 @@ def execute(skin):\n ...@@ -100,9 +100,7 @@ def execute(skin):\n
execute(o)\n execute(o)\n
\n \n
for skin in context.portal_skins.objectValues():\n for skin in context.portal_skins.objectValues():\n
try: execute(skin)\n execute(skin)\n
except Exception as e: incorrect_file_absolute_url_list.append(str(e))\n
\n
\n \n
if incorrect_file_absolute_url_list != []:\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 return ActiveResult(severity=100, detail="There is no cache set for:\\n" + "\\n".join(incorrect_file_absolute_url_list))\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment