Two questions about pyparted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys,
in one of my latest PRs there are a few commented out lines:
https://github.com/rhinstaller/pyparted/pull/10/files


First, getting unavailable partition flag doesn't raise an exception like setting does. Is this expected ?

        # try getting unavailable flag - doesn't raise an exception
#        with self.assertRaises(_ped.PartedException):
#            self._part.get_flag(1000)



Looks like loopback mounted devices are not detected as busy by libparted. I've taken this snippet from another test, where it is commented out as well:

# TODO:  need to figure out how to make a loopback device look mounted to
# libparted
#        self.mkfs()
#        self.doMount()
#        self.assertTrue(self._part.is_busy())


What do we want to do about this? File a bug upstream is the first one to do I guess.


--
Alex

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux