summaryrefslogtreecommitdiffstats
path: root/openstack/common/db
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-05-30 11:02:35 +0000
committerGerrit Code Review <review@openstack.org>2013-05-30 11:02:35 +0000
commit7e2805025d86220df0678110df933745a46db178 (patch)
treea645cf653e190ba246305ba0a5bcb7faf77e1d2d /openstack/common/db
parent95da21822653c878973bd267eea36b9683040d6d (diff)
parent484a1df32d5854312ef31c5b488fc07fff8428c4 (diff)
downloadoslo-7e2805025d86220df0678110df933745a46db178.tar.gz
oslo-7e2805025d86220df0678110df933745a46db178.tar.xz
oslo-7e2805025d86220df0678110df933745a46db178.zip
Merge "Enable hacking H403 test"
Diffstat (limited to 'openstack/common/db')
-rw-r--r--openstack/common/db/sqlalchemy/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack/common/db/sqlalchemy/models.py b/openstack/common/db/sqlalchemy/models.py
index 6638c83..f61bb39 100644
--- a/openstack/common/db/sqlalchemy/models.py
+++ b/openstack/common/db/sqlalchemy/models.py
@@ -81,7 +81,8 @@ class ModelBase(object):
def iteritems(self):
"""Make the model object behave like a dict.
- Includes attributes from joins."""
+ Includes attributes from joins.
+ """
local = dict(self)
joined = dict([(k, v) for k, v in self.__dict__.iteritems()
if not k[0] == '_'])