From: Evgeni Golov Date: Mon, 28 Sep 2015 15:37:06 +0000 (+0200) Subject: Catch parted returning None as the searched partition X-Git-Tag: v0.14.13~1 X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=745f09771c1a7cfd9607d3300a55ee8ddbd59fac;hp=745f09771c1a7cfd9607d3300a55ee8ddbd59fac;ds=sidebyside Catch parted returning None as the searched partition Certain USB devices aren't handled correctly by python-parted. As soon as the USB devices are filled/rewritten with zeros (dd if=/dev/zero of=/dev/sdX) they are recognized properly. The underlying issue couldn't be identified yet, but since we know what we get let's just fall back to the old boot device detection and print an according warning message. Thanks: to mika and Haudegen for debugging Closes: #766964 ---