]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Reduce the redundant variable declarations
authorls1175 <liusheng@huawei.com>
Tue, 31 Dec 2013 07:54:17 +0000 (15:54 +0800)
committerls1175 <liusheng@huawei.com>
Tue, 31 Dec 2013 08:01:16 +0000 (16:01 +0800)
commita4c750f3027977551c1fdab430040689a620edb0
tree3231fd6ce09619ef848031051cf72ef8e3be1b83
parent07e0a120f3dc4473cf3be37dbe8abc6d0cc1b866
Reduce the redundant variable declarations

The method create() in /cinder/api/v2/volumes.py has two redundant
variable declarations: image_href = None image_uuid = None
These should be reduced

Change-Id: If3798d4bd96998707d7a5f87ece95ed8c93cc042
Closes-bug: #1265148
cinder/api/v2/volumes.py