Skip to content

Commit fa84cb0

Browse files
generatedunixname89002005287564facebook-github-bot
generatedunixname89002005287564
authored andcommitted
Clean up errors and remove unused ignores] [batch:162/549] [shard:2/N]
Reviewed By: MaggieMoss Differential Revision: D64575414 fbshipit-source-id: 21c8fd08865346d48d3f58bd2368ae2eaabb19e5
1 parent 7862d2a commit fa84cb0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

openr/py/openr/utils/printing.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ def sprint_bytes(bytes: Union[int, float]) -> str:
3333

3434
if bytes < 1024:
3535
return f"{bytes} B"
36-
# pyre-fixme[58]: `/` is not supported for operand types `Union[float, int]` and
37-
# `int`.
3836
bytes /= 1024
3937
if bytes < 1024:
4038
return f"{bytes:.2f} KB"

0 commit comments

Comments
 (0)