[rhinstaller/blivet/pulls/178 master] Add method to list primary partitions
dwlehman
installerbot-noreply at redhat.com
Thu Jul 23 13:12:39 UTC 2015
> @@ -324,6 +324,15 @@ def logicalPartitions(self):
> return logicals
>
> @property
> + def primaryPartitions(self):
> + try:
> + primaries = self.partedDisk.getPrimaryPartitions()
> + except Exception: # pylint: disable=broad-except
He was just following the style of the existing, related properties. We should probably drop the try/except on all three of them, but I have some concerns about doing that in a minor version release.
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/178#discussion_r35318983
More information about the anaconda-patches
mailing list