Commit aa148df6 authored by Jeremy Hylton's avatar Jeremy Hylton

stupid typo

parent 4495c5a2
...@@ -18,7 +18,7 @@ class TransactionalUndoStorage: ...@@ -18,7 +18,7 @@ class TransactionalUndoStorage:
r = self._storage.store(oid, rev, data, vers, trans) r = self._storage.store(oid, rev, data, vers, trans)
if r: if r:
if type(r) == types.StringType: if type(r) == types.StringType:
self.__oids[oid] = r self.__serials[oid] = r
else: else:
for oid, serial in r: for oid, serial in r:
self.__serials[oid] = serial self.__serials[oid] = serial
......
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