[rhinstaller/blivet/pulls/178 master] Add method to list primary partitions
vpodzime
installerbot-noreply at redhat.com
Thu Jul 23 12:58:48 UTC 2015
> @@ -324,6 +324,15 @@ def logicalPartitions(self):
> return logicals
>
> @property
> + def primaryPartitions(self):
> + try:
> + primaries = self.partedDisk.getPrimaryPartitions()
I think this could be simplified to ``return self.partedDisk.getPrimaryPartitions()`` with the ``primaries`` variable being dropped.
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/178#discussion_r35317921
More information about the anaconda-patches
mailing list