Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:Havana:Staging
openstack-cinder
0001-Cinder-override-all-method.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Cinder-override-all-method.patch of Package openstack-cinder
From 4ca41d07af2522e03a2581afe17196a8988bcd85 Mon Sep 17 00:00:00 2001 From: rossella <rsblendido@suse.com> Date: Thu, 4 Sep 2014 13:44:33 +0000 Subject: [PATCH] Cinder override all() method --- cinder/openstack/common/db/sqlalchemy/session.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cinder/openstack/common/db/sqlalchemy/session.py b/cinder/openstack/common/db/sqlalchemy/session.py index e60b248..2967f23 100644 --- a/cinder/openstack/common/db/sqlalchemy/session.py +++ b/cinder/openstack/common/db/sqlalchemy/session.py @@ -631,6 +631,10 @@ class Query(sqlalchemy.orm.query.Query): 'deleted_at': timeutils.utcnow()}, synchronize_session=synchronize_session) + @_wrap_db_error + def all(self): + return super(Query, self).all() + class Session(sqlalchemy.orm.session.Session): """Custom Session class to avoid SqlAlchemy Session monkey patching.""" -- 1.7.9.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor