[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
PATCH: pyblock: fix dm import from native C-code with pythion-2.6
- From: Hans de Goede <hdegoede redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: PATCH: pyblock: fix dm import from native C-code with pythion-2.6
- Date: Mon, 02 Feb 2009 16:55:52 +0100
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]