Commit 113fa189 authored by Stephane Fermingier's avatar Stephane Fermingier

Forgotten namespace.

parent 65accb02
......@@ -14,7 +14,7 @@
"""Berkeley storage with full undo and versioning support.
$Revision: 1.71 $
$Revision: 1.72 $
"""
import time
......@@ -245,7 +245,7 @@ class BDBFullStorage(BerkeleyBase, ConflictResolvingStorage):
if version is None:
self._info.put('version', BDBFULL_SCHEMA_VERSION, txn=txn)
elif version <> BDBFULL_SCHEMA_VERSION:
raise StorageSystemError, 'incompatible storage version'
raise POSException.StorageSystemError, 'incompatible storage version'
def _make_autopacker(self, event):
config = self._config
......
......@@ -15,7 +15,7 @@
"""Berkeley storage without undo or versioning.
"""
__version__ = '$Revision: 1.29 $'[-2:][0]
__version__ = '$Revision: 1.30 $'[-2:][0]
from __future__ import nested_scopes
......@@ -133,7 +133,7 @@ class BDBMinimalStorage(BerkeleyBase, ConflictResolvingStorage):
if version is None:
self._info.put('version', BDBMINIMAL_SCHEMA_VERSION, txn=txn)
elif version <> BDBMINIMAL_SCHEMA_VERSION:
raise StorageSystemError, 'incompatible storage version'
raise POSException.StorageSystemError, 'incompatible storage version'
def _make_autopacker(self, event):
return _Autopack(self, event, self._config.frequency)
......
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