]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Allowed the database call to return no parsed template.
authorChris Alfonso <calfonso@redhat.com>
Thu, 10 May 2012 19:31:31 +0000 (15:31 -0400)
committerChris Alfonso <calfonso@redhat.com>
Thu, 10 May 2012 19:31:31 +0000 (15:31 -0400)
commitd3bdddee682bd7039d6febee332817be099e4f86
tree5ae29acd391f428d5881e430f5756872baba42d0
parent3d5b05c50dc40aab5aedea1a4af8573b5e8e6212
Allowed the database call to return no parsed template.

The database impl was raising an exception if no parsed template
exists.  The logic that was looking up the parsed template
expects None to be returned if the template isn't stored.

* I also fixed some pep8 errors.
heat/db/sqlalchemy/api.py
heat/metadata/api/v1/__init__.py
heat/metadata/api/v1/metadata.py
heat/tests/__init__.py
heat/tests/test_cfn.py
heat/tests/test_stacks.py
heat/tests/v1_1/fakes.py
tools/experimental_ssh_eventlet.py