https://github.com/openstack/rally
Revision bf0a2601611b431f15c9b907eee3ef337491e287 authored by chen-li on 19 January 2016, 13:15:28 UTC, committed by li,chen on 16 February 2016, 00:43:42 UTC
Python provides a built-in function to get the index along with the value of any iterable as an iterator. This is the preferred and more concise way of generating indices of an iterable. Change-Id: I086224df0f184c309a3e54633e59b914df80c81e
1 parent 3126a46
Tip revision: bf0a2601611b431f15c9b907eee3ef337491e287 authored by chen-li on 19 January 2016, 13:15:28 UTC
Avoid using range() of len() to get index of iterable
Avoid using range() of len() to get index of iterable
Tip revision: bf0a260
File | Mode | Size |
---|---|---|
certification | ||
devstack | ||
doc | ||
etc | ||
rally | ||
rally-jobs | ||
samples | ||
tests | ||
.coveragerc | -rw-r--r-- | 80 bytes |
.dockerignore | -rw-r--r-- | 55 bytes |
.gitignore | -rw-r--r-- | 399 bytes |
.gitreview | -rw-r--r-- | 74 bytes |
.testr.conf | -rw-r--r-- | 202 bytes |
Dockerfile | -rw-r--r-- | 1.8 KB |
LICENSE | -rw-r--r-- | 10.0 KB |
README.rst | -rw-r--r-- | 4.1 KB |
babel.cfg | -rw-r--r-- | 15 bytes |
install_rally.sh | -rwxr-xr-x | 24.2 KB |
optional-requirements.txt | -rw-r--r-- | 126 bytes |
requirements.txt | -rw-r--r-- | 1.2 KB |
setup.cfg | -rw-r--r-- | 1021 bytes |
setup.py | -rw-r--r-- | 1.0 KB |
test-requirements.txt | -rw-r--r-- | 400 bytes |
tox.ini | -rw-r--r-- | 1.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...