Joel Granados wrote:
looks good
Thanks for the review, committed and a new pyblock is building now.
Regards,
Hans
----- "Hans de Goede" <hdegoede@xxxxxxxxxx> wrote:
This patch fixes a problem where the c-code fails to import the module
dm,
causing dmraid set activation to not work in rawhide.
---
dmraid.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dmraid.c b/dmraid.c
index 561f385..3b2f3c7 100644
--- a/dmraid.c
+++ b/dmraid.c
@@ -795,7 +795,7 @@ pydmraid_raidset_get_dm_table(PyObject *self, void
*data)
goto out;
/* get the DSO for block.dm loaded */
- m = PyImport_ImportModule("dm");
+ m = PyImport_ImportModule("block.dm");
if (!m)
goto out;
@@ -850,7 +850,7 @@ pydmraid_raidset_get_map(PyObject *self, void
*data)
if (!args)
goto out;
- m = PyImport_ImportModule("dm");
+ m = PyImport_ImportModule("block.dm");
if (!m)
goto out;
--
1.6.1.2
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list