Commit 414573b9 authored by Julien Muchembled's avatar Julien Muchembled

importer: fix assertion failure when loading a deleted oid that is fully imported

parent d98205d0
...@@ -609,7 +609,7 @@ class ImporterDatabaseManager(DatabaseManager): ...@@ -609,7 +609,7 @@ class ImporterDatabaseManager(DatabaseManager):
except TypeError: # loadBefore returned None except TypeError: # loadBefore returned None
return False return False
except POSKeyError: except POSKeyError:
assert not o, o assert not o or o[3] is None, o
return o return o
if serial != tid: if serial != tid:
if tid: if tid:
......
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