]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
suite/matrix: use py3 compatible floor division
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Tue, 19 Nov 2019 20:25:49 +0000 (21:25 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@gmail.com>
Thu, 21 Nov 2019 21:16:10 +0000 (22:16 +0100)
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
teuthology/suite/matrix.py

index 9c2ea1a5569654f5499b2a662e28b35e7dd28798..d93acd78a958f2accd6a68756c8ae4c0c4e63547 100644 (file)
@@ -43,7 +43,7 @@ class Matrix:
         A cyclicity of N means that the set represented by the Matrix
         can be chopped into N good subsets of sequential indices.
         """
-        return self.size() / self.minscanlen()
+        return self.size() // self.minscanlen()
 
     def tostr(self, depth):
         pass