[rhinstaller/blivet/pulls/178 master] Add method to list primary partitions
vpodzime
installerbot-noreply at redhat.com
Thu Jul 23 12:59:31 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
Do we really need this broad exception? It seems to me like it will be hiding real bugs in the code.
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/178#discussion_r35317965
More information about the anaconda-patches
mailing list