]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use native methods for list manipulation
authorZhongyue Luo <zhongyue.nah@intel.com>
Mon, 12 Aug 2013 02:41:59 +0000 (10:41 +0800)
committerZhongyue Luo <zhongyue.nah@intel.com>
Mon, 12 Aug 2013 03:07:31 +0000 (11:07 +0800)
commit6db3560f8b04a188e8d33e28dbd0b7206ae04c07
tree38c0332c8e2e79cfd8a574ae0cc7098cc486a350
parent8f469a4480e4bc3ce588669b55704ac34ecc139a
Use native methods for list manipulation

It's better to append a item to a list rather than creating a list instance
and extending it. Also the list class has its native method for extension.

Change-Id: If492c35822cd7d83b509692c2226612e565204d3
cinder/backup/drivers/ceph.py
cinder/brick/iscsi/iscsi.py
cinder/brick/local_dev/lvm.py
cinder/volume/drivers/lvm.py
cinder/volume/drivers/rbd.py