]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Tolerate an empty environment properties.
authorSteve Baker <sbaker@redhat.com>
Tue, 9 Jul 2013 04:01:58 +0000 (16:01 +1200)
committerSteve Baker <sbaker@redhat.com>
Tue, 9 Jul 2013 22:24:57 +0000 (10:24 +1200)
commit27092a8b7b523e524c53bfd4790412a8cb3013ce
tree3a8a0cdd45d4c78ef0299f1801c6568542f112f0
parent64edc76c102584281c9aeff1861f0c559ca0a69b
Tolerate an empty environment properties.

An environment file containing the following:
properties:

Results in the following error:
 File "/home/steveb/dev/localstack/heat/heat/api/openstack/v1/stacks.py",
line 132, in environment
    env[self.PARAM_USER_PARAMS].update(parameters)
AttributeError: 'NoneType' object has no attribute 'update'

Change-Id: I7b36d797383cc3c74d4d0c77c283564b01aa6a6b
heat/api/openstack/v1/stacks.py