cea-hpc / shine

Lustre administration tool
GNU General Public License v2.0
22 stars 9 forks source link

Ticket #216: Proper floor division in CLI #221

Closed degremont closed 3 months ago

degremont commented 3 months ago

In Shine.CLI.Display, use proper floor division with // which is compatible with py2 and py3. We want a int here.

degremont commented 3 months ago

Only 101 failures after this patch

thiell commented 3 months ago

There are more occurrences of this, see https://github.com/stanford-rc/shine/commit/1e80cc3b5512e04ded5fea9fdc0be8de1877d08f

degremont commented 3 months ago

Oops, I missed your comment :) That would need a new commit

degremont commented 3 months ago

Created PR #222 from your commit. Thanks!