[rhinstaller/anaconda/pulls/424 master] Fix bad space needed messages
vpodzime
installerbot-noreply at redhat.com
Mon Oct 26 09:06:25 UTC 2015
> @@ -77,7 +79,9 @@ def check(self):
> log.info("fs space: %s needed: %s", free, needed)
> self.success = (free > needed)
> if not self.success:
> - self.deficit = needed - free
> + required_space = Size(Decimal(needed) / Decimal(self.storage.rootDevice.format.MetadataSizeFactor))
Should these two really be divided? It doesn't make much sense to me. Also, this calculation should be put into a method with a reasonable name.
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/424#discussion_r42970646
More information about the anaconda-patches
mailing list