Commit a82c8186 authored by Vincent Pelletier's avatar Vincent Pelletier

Coding style.

parent 69937e65
...@@ -347,9 +347,9 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -347,9 +347,9 @@ class ZCatalog(Folder, Persistent, Implicit):
result = catalog_object.readRecordedObjectList(catalog=catalog) result = catalog_object.readRecordedObjectList(catalog=catalog)
if len(result): if len(result):
for o in result: for o in result:
if catalog==0: if catalog == 0:
self.uncatalog_object(uid=o.path, sql_catalog_id=sql_catalog_id) self.uncatalog_object(uid=o.path, sql_catalog_id=sql_catalog_id)
elif catalog==1: elif catalog == 1:
try: try:
obj = self.resolve_path(o.path) obj = self.resolve_path(o.path)
except ConflictError: except ConflictError:
......
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