Message ID | 20201219182948.83000-5-loghyr@hammerspace.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Python3 patches for st_flex.py | expand |
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)