Replace blanket try-except for all exceptions with try-except for
exactly one exception, ConflictError Remove klass._p_resolveConflict line, because it's only apparent purpose was to raise an AttributeError that was caught by the blanket try-except. Instead, let the later code, which actually uses _p_resolveConflict() catch the AttributeError and return 0.
Showing
Please register or sign in to comment