summaryrefslogtreecommitdiffstats
path: root/openstack/common/db/sqlalchemy
diff options
context:
space:
mode:
authorSergey Lukjanov <slukjanov@mirantis.com>2013-05-30 08:32:42 +0400
committerSergey Lukjanov <slukjanov@mirantis.com>2013-05-30 09:00:57 +0400
commit484a1df32d5854312ef31c5b488fc07fff8428c4 (patch)
treee8ac54c6ab7f1aeac8ca23522683d6ebc5b3ec14 /openstack/common/db/sqlalchemy
parent35660dac73f9f7428f9c441583464b5942ca6827 (diff)
downloadoslo-484a1df32d5854312ef31c5b488fc07fff8428c4.tar.gz
oslo-484a1df32d5854312ef31c5b488fc07fff8428c4.tar.xz
oslo-484a1df32d5854312ef31c5b488fc07fff8428c4.zip
Enable hacking H403 test
H403 multi line docstring end on new line Change-Id: I33249651026b54ef346214965e909835288bb14e
Diffstat (limited to 'openstack/common/db/sqlalchemy')
-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] == '_'])