Forgot: master/rhel7-branch.
On Mon, Dec 02, 2013 at 11:03:12AM -0500, Samantha N. Bueno wrote:
Resolves: rhbz#1032500
---
data/command-stubs/list-harddrives-stub | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/command-stubs/list-harddrives-stub
b/data/command-stubs/list-harddrives-stub
index 75e8f89..a0a6d34 100755
--- a/data/command-stubs/list-harddrives-stub
+++ b/data/command-stubs/list-harddrives-stub
@@ -26,7 +26,7 @@ import _ped
def main(argv):
lst = set()
- for dev in filter(lambda d: d.type != parted.DEVICE_DM, parted.getAllDevices()):
+ for dev in filter(lambda d: d.type != parted.DEVICE_DM and not
d.path.startswith("/dev/sr"), parted.getAllDevices()):
if dev.path.startswith("/dev/"):
path = dev.path[5:]
else:
--
1.8.3.1
_______________________________________________
anaconda-patches mailing list
anaconda-patches(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches