Commit 2e10569d authored by Vincent Pelletier's avatar Vincent Pelletier

epr5_tiosafe_core: Drop dead code.

parent 6af4fd52
......@@ -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):
"""
......
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