Skip to content

Commit

Permalink
fix except for py3
Browse files Browse the repository at this point in the history
  • Loading branch information
agroszer committed Feb 12, 2015
1 parent fdfd53c commit bf188f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZODB/ConflictResolution.py
Expand Up @@ -294,7 +294,7 @@ def tryToResolveConflict(self, oid, committedSerial, oldSerial, newpickle,
pickler.dump(meta)
pickler.dump(resolved)
return self._crs_transform_record_data(file.getvalue())
except (ConflictError, BadClassName), e:
except (ConflictError, BadClassName) as e:
logger.exception(str(e))
except:
# If anything else went wrong, catch it here and avoid passing an
Expand Down

0 comments on commit bf188f4

Please sign in to comment.