22 lines
899 B
Diff
22 lines
899 B
Diff
|
Index: virt-manager-0.10.0/virtinst/VirtualDisk.py
|
||
|
===================================================================
|
||
|
--- virt-manager-0.10.0.orig/virtinst/VirtualDisk.py
|
||
|
+++ virt-manager-0.10.0/virtinst/VirtualDisk.py
|
||
|
@@ -1742,14 +1742,8 @@ class VirtualDisk(VirtualDevice):
|
||
|
if gen_t in except_targets:
|
||
|
continue
|
||
|
if gen_t not in skip_targets:
|
||
|
- if self.device != self.DEVICE_CDROM:
|
||
|
- if i != ord('c') - ord('a'):
|
||
|
- self.target = gen_t
|
||
|
- return self.target
|
||
|
- else:
|
||
|
- if i >= ord('c') - ord('a'):
|
||
|
- self.target = gen_t
|
||
|
- return self.target
|
||
|
+ self.target = gen_t
|
||
|
+ return self.target
|
||
|
|
||
|
# Check except_targets for any options
|
||
|
for t in except_targets:
|