summaryrefslogtreecommitdiffstats
path: root/tests/bugs/glusterfs
diff options
context:
space:
mode:
authorKotresh HR <khiremat@redhat.com>2019-06-06 12:54:04 +0530
committerXavi Hernandez <xhernandez@redhat.com>2019-06-27 08:40:27 +0200
commit5de46c74b281e6d0cf7168f8869bd179e7fff489 (patch)
tree8022fcd76a8ead0e6edd13e400bbe1ab597e3b4a /tests/bugs/glusterfs
parent9acd89087baea32b06142d51568df78e0ce57d54 (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 Backport of: > Change-Id: I3db857cc19e19163d368d913eaec1269fbc37140 > BUG: 1193929 > Signed-off-by: Kotresh HR <khiremat@redhat.com> Change-Id: I3db857cc19e19163d368d913eaec1269fbc37140 updates: bz#1679998 Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'tests/bugs/glusterfs')
-rwxr-xr-xtests/bugs/glusterfs/bug-902610.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/glusterfs/bug-902610.t b/tests/bugs/glusterfs/bug-902610.t
index b45e92b8a3b..112c947e116 100755
--- a/tests/bugs/glusterfs/bug-902610.t
+++ b/tests/bugs/glusterfs/bug-902610.t
@@ -28,7 +28,7 @@ function get_layout()
fi
# Figure out where the join point is.
- target=$( $PYTHON -c "print '%08x' % (0x$layout1_e + 1)")
+ target=$( $PYTHON -c "print('%08x' % (0x$layout1_e + 1))")
#echo "target for layout2 = $target" > /dev/tty
# The second layout should cover everything that the first doesn't.