diff options
author | Kotresh HR <khiremat@redhat.com> | 2019-06-06 12:54:04 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-06-07 08:49:27 +0000 |
commit | 89a34b574ee86b77fbae5295c766471086b9ea8f (patch) | |
tree | b802fd8a0e4b5f4c73cc2505ff8d2d5fa649ce77 /tests/bugs/distribute | |
parent | a981e7cc12bb89304e8736d857f23f3a394512d0 (diff) |
tests/utils: Fix py2/py3 util python scripts
Following files are fixed.
tests/bugs/distribute/overlap.py
tests/utils/changelogparser.py
tests/utils/create-files.py
tests/utils/gfid-access.py
tests/utils/libcxattr.py
Change-Id: I3db857cc19e19163d368d913eaec1269fbc37140
updates: bz#1193929
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'tests/bugs/distribute')
-rwxr-xr-x | tests/bugs/distribute/overlap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/distribute/overlap.py b/tests/bugs/distribute/overlap.py index 0941d377624..2813979787b 100755 --- a/tests/bugs/distribute/overlap.py +++ b/tests/bugs/distribute/overlap.py @@ -17,7 +17,7 @@ def calculate_one (ov, nv): def calculate_all (values): total = 0 - nv_index = len(values) / 2 + nv_index = len(values) // 2 for old_val in values[:nv_index]: new_val = values[nv_index] nv_index += 1 |