This reverts commit
d2869078476a590d2f875b45801fceee37234344.
The ModularBackend object has not been designed to be used
by multiple contexts concurrenctly, and shouldn't inherit
from ArgBasedSingleton.
Subsequent patches will enable pooling of ModularBackend objects,
using the ObjectPool facility of synnefo.lib.pool.
DEFAULT_QUOTA = 0 # No quota.
DEFAULT_VERSIONING = 'auto'
-from synnefo.lib.singleton import ArgBasedSingleton
class NotAllowedError(Exception):
pass
class VersionNotExists(IndexError):
pass
-class BaseBackend(ArgBasedSingleton):
+class BaseBackend(object):
"""Abstract backend class that serves as a reference for actual implementations.
The purpose of the backend is to provide the necessary functions for handling data
# Package requirements
INSTALL_REQUIRES = [
- 'snf-common>0.10.0',
+ 'snf-common>0.9.13',
'SQLAlchemy==0.6.3',
'alembic>=0.3.4, <0.4',
]