diff options
| author | Andy Smith <code@term.ie> | 2011-01-14 17:44:47 -0800 |
|---|---|---|
| committer | Andy Smith <code@term.ie> | 2011-01-14 17:44:47 -0800 |
| commit | 731126b299da757588656fa72b291ca4da96b5fe (patch) | |
| tree | bd71549224aece6948c0bb6fa9f002374e7db82f | |
| parent | 4f920a8316afc4becdabbc0a75959a8e8017836f (diff) | |
| download | nova-731126b299da757588656fa72b291ca4da96b5fe.tar.gz nova-731126b299da757588656fa72b291ca4da96b5fe.tar.xz nova-731126b299da757588656fa72b291ca4da96b5fe.zip | |
pep8
| -rw-r--r-- | nova/db/sqlalchemy/models.py | 2 | ||||
| -rw-r--r-- | nova/tests/test_console.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/nova/db/sqlalchemy/models.py b/nova/db/sqlalchemy/models.py index 0e56ea7e6..e8fb1f439 100644 --- a/nova/db/sqlalchemy/models.py +++ b/nova/db/sqlalchemy/models.py @@ -91,7 +91,7 @@ class NovaBase(object): def iteritems(self): """Make the model object behave like a dict. - + Includes attributes from joins.""" local = dict(self) joined = dict([(k, v) for k, v in self.__dict__.iteritems() diff --git a/nova/tests/test_console.py b/nova/tests/test_console.py index 69e2109e6..85bf94458 100644 --- a/nova/tests/test_console.py +++ b/nova/tests/test_console.py @@ -130,4 +130,3 @@ class ConsoleTestCase(test.TestCase): self.context, console_id) db.instance_destroy(self.context, instance_id) - |
