From: Tom Haynes <loghyr@xxxxxxxxx> Signed-off-by: Tom Haynes <loghyr@xxxxxxxxx> --- nfs4.1/server41tests/st_flex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfs4.1/server41tests/st_flex.py b/nfs4.1/server41tests/st_flex.py index 7036271..80f5a85 100644 --- a/nfs4.1/server41tests/st_flex.py +++ b/nfs4.1/server41tests/st_flex.py @@ -1106,7 +1106,7 @@ def testFlexLayoutReturn100(t, env): fh = res.resarray[-1].object open_stateid = res.resarray[-2].stateid - for i in xrange(count): + for i in range(count): layout_error = None if i % layout_error_ratio else NFS4ERR_ACCESS layoutget_return(sess, fh, open_stateid, layout_error=layout_error) -- 2.26.2