]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use len instead of for-loop to get the end index
authorWu Wenxiang <wu.wenxiang@99cloud.net>
Wed, 19 Feb 2014 13:39:41 +0000 (21:39 +0800)
committerWu Wenxiang <wu.wenxiang@99cloud.net>
Wed, 19 Feb 2014 13:48:05 +0000 (21:48 +0800)
commit38e192afecd0d08921d4fb4d7166fa156addb6a4
tree008d01c5ee450432e3b922edb2cc3c7d69057374
parenta1d78df1b7c95dbb5024023662932cd94313dd58
Use len instead of for-loop to get the end index

Use len() instead of for-loop to get the end index in file
cinder/tests/test_backup_tsm.py

Change-Id: I3a7b0e418f8af4881e21eb5273a03dbcd317c27d
Closes-Bug: #1282084
cinder/tests/test_backup_tsm.py