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
Nikola Balog
erp5
Commits
2e10569d
Commit
2e10569d
authored
5 years ago
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epr5_tiosafe_core: Drop dead code.
parent
6af4fd52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
bt5/erp5_tiosafe_core/ExtensionTemplateItem/portal_components/extension.erp5.TioSafeBrain.py
...lateItem/portal_components/extension.erp5.TioSafeBrain.py
+1
-11
No files found.
bt5/erp5_tiosafe_core/ExtensionTemplateItem/portal_components/extension.erp5.TioSafeBrain.py
View file @
2e10569d
...
...
@@ -19,7 +19,6 @@ from base64 import b16encode
from
lxml
import
etree
from
zLOG
import
LOG
,
ERROR
from
DateTime
import
DateTime
import
sys
from
Products.ERP5Type.Cache
import
CachingMethod
# Global variables
...
...
@@ -63,16 +62,7 @@ class TioSafeBrain(Explicit):
"""
Build the TioSafe XML
"""
try
:
return
self
.
_asXML
()
except
:
raise
error_type
,
error_value
,
error_tb
=
sys
.
exc_info
()
LOG
(
"TioSafeBrain.asXML"
,
ERROR
,
"%s - %s"
%
(
error_type
,
error_value
),
error
=
sys
.
exc_info
())
if
debug
:
raise
ValueError
,
"%s - %s"
%
(
error_type
,
error_value
)
else
:
raise
return
self
.
_asXML
()
def
getDefaultUnknownNodeGID
(
self
):
"""
...
...
This diff is collapsed.
Click to expand it.
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