Commit ac6cd429 authored by Jean-Paul Smets's avatar Jean-Paul Smets

removed try


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@54 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 950e4adc
...@@ -259,10 +259,10 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base): ...@@ -259,10 +259,10 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
#LOG("Call SQL Method %s with args:" % method_name,0, str(kw)) #LOG("Call SQL Method %s with args:" % method_name,0, str(kw))
method(**kw) method(**kw)
#except: #except:
# # This is a real LOG message # # # This is a real LOG message
# # which is required in order to be able to import .zexp files # # # which is required in order to be able to import .zexp files
# LOG("SQLCatalog Warning: could not catalog object with method %s" % method_name, # LOG("SQLCatalog Warning: could not catalog object with method %s" % method_name,
# 100,str(path)) # 100,str(path))
def uncatalogObject(self, path): def uncatalogObject(self, path):
""" """
...@@ -282,7 +282,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base): ...@@ -282,7 +282,7 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
for method_name in methods: for method_name in methods:
method = getattr(self, method_name) method = getattr(self, method_name)
try: try:
#if 1: #if 1:
method(uid = uid) method(uid = uid)
except: except:
# This is a real LOG message # This is a real LOG message
......
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