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 ...@@ -19,7 +19,6 @@ from base64 import b16encode
from lxml import etree from lxml import etree
from zLOG import LOG, ERROR from zLOG import LOG, ERROR
from DateTime import DateTime from DateTime import DateTime
import sys
from Products.ERP5Type.Cache import CachingMethod from Products.ERP5Type.Cache import CachingMethod
# Global variables # Global variables
...@@ -63,16 +62,7 @@ class TioSafeBrain(Explicit): ...@@ -63,16 +62,7 @@ class TioSafeBrain(Explicit):
""" """
Build the TioSafe XML Build the TioSafe XML
""" """
try: return self._asXML()
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
def getDefaultUnknownNodeGID(self): 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