Commit bff23e30 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Move CreationUndone definition in manager module.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2312 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 64adfd48
......@@ -18,6 +18,9 @@
from neo import util
from neo.exception import DatabaseFailure
class CreationUndone(Exception):
pass
class DatabaseManager(object):
"""This class only describes an interface for database managers."""
......
......@@ -23,15 +23,13 @@ from array import array
import string
from neo.storage.database import DatabaseManager
from neo.storage.database.manager import CreationUndone
from neo.exception import DatabaseFailure
from neo.protocol import CellStates, ZERO_OID, ZERO_TID
from neo import util
LOG_QUERIES = False
class CreationUndone(Exception):
pass
def splitOIDField(tid, oids):
if (len(oids) % 8) != 0 or len(oids) == 0:
raise DatabaseFailure('invalid oids length for tid %d: %d' % (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