Commit f39c535f authored by Jeremy Hylton's avatar Jeremy Hylton

Don't let test fail if storage has no pack.

(Just hope that the storage is sane :-).
parent 73f948fa
......@@ -414,6 +414,8 @@ class PackableStorage(PackableStorageBase):
self.assert_(not t.isAlive())
# iterator over the storage to make sure it's sane
if not hasattr(self._storage, "iterator"):
return
iter = self._storage.iterator()
for txn in iter:
for data in txn:
......
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