From: Peter Jones <pjones(a)redhat.com>
Woops.
Signed-off-by: Peter Jones <pjones(a)redhat.com>
---
blivet/devicelibs/edd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/devicelibs/edd.py b/blivet/devicelibs/edd.py
index 2adb1ba..0a83aef 100644
--- a/blivet/devicelibs/edd.py
+++ b/blivet/devicelibs/edd.py
@@ -375,7 +375,7 @@ def devname_from_ata_pci_dev(self):
continue
fn = components[0:6] + ['link%d' % (ata_port_idx,),]
- exp = [r'^']+fn+[r'dev%d\.(\d+)(\.(\d+)){0,1}$' %
(ata_port_idx,)]
+ exp = [r'.*']+fn+[r'dev%d\.(\d+)(\.(\d+)){0,1}$' %
(ata_port_idx,)]
exp = os.path.join(*exp)
expmatcher = re.compile(exp)
pmp_glob = fn + ['dev%d.*.*' % (ata_port_idx,)]
--
To view this commit on github, visit
https://github.com/rhinstaller/blivet/commit/021065fd0e05fef1248cfb1a3e15...