Commit af92b534 authored by Vincent Pelletier's avatar Vincent Pelletier

Remove an unneeded special case for undone creation.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2284 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 1f1dc176
......@@ -353,9 +353,6 @@ class MySQLDatabaseManager(DatabaseManager):
_, compression, checksum, data = self._getObjectData(oid,
data_serial, serial)
except CreationUndone:
# XXX: why is a special case needed here ?
if tid is None:
return None
compression = 0
# XXX: this is the valid checksum for empty string
checksum = 1
......
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