From: Stratos Psomadakis Date: Tue, 16 Oct 2012 12:44:35 +0000 (+0300) Subject: Hotfix pithos 500 error X-Git-Tag: pithos/v0.11.0^2 X-Git-Url: https://code.grnet.gr/git/pithos/commitdiff_plain/f77b1da940d027744784a8f252f794c2b4b71feb?hp=-c Hotfix pithos 500 error Temporary fix to prevent pithos failing with "AttributeError: 'ModularBackend' object has no attribute 'messages'" 500 error. --- f77b1da940d027744784a8f252f794c2b4b71feb diff --git a/snf-pithos-app/pithos/api/util.py b/snf-pithos-app/pithos/api/util.py index 5b15c6c..197156b 100644 --- a/snf-pithos-app/pithos/api/util.py +++ b/snf-pithos-app/pithos/api/util.py @@ -807,6 +807,7 @@ def get_backend(): backend = _pithos_backend_pool.pool_get() backend.default_policy['quota'] = BACKEND_QUOTA backend.default_policy['versioning'] = BACKEND_VERSIONING + backend.messages = [] return backend