mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 21:14:15 +02:00
[commons.util] improvement: returning a float for 'size_to_byte' parsing
This commit is contained in:
@@ -270,7 +270,7 @@ class UpgradeSelected(AsyncAction):
|
||||
read_only=True,
|
||||
icon_path=icon_path)
|
||||
|
||||
def _sum_pkgs_size(self, reqs: List[UpgradeRequirement]) -> Tuple[int, int]:
|
||||
def _sum_pkgs_size(self, reqs: List[UpgradeRequirement]) -> Tuple[float, float]:
|
||||
required, extra = 0, 0
|
||||
for r in reqs:
|
||||
if r.required_size is not None:
|
||||
|
||||
Reference in New Issue
Block a user