aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDetlev Casanova <detlev.casanova@gmail.com>2010-07-30 00:02:09 +0200
committerDetlev Casanova <detlev.casanova@gmail.com>2010-07-30 00:02:09 +0200
commit922e6955a4628ab7c94c9540f28bbc44b3e6a96c (patch)
tree6c403479ce9e960b527fb70566ffbcf778e876b8 /src/interpreter.c
parentInitial library commit (diff)
downloadc-portage-922e6955a4628ab7c94c9540f28bbc44b3e6a96c.tar.gz
c-portage-922e6955a4628ab7c94c9540f28bbc44b3e6a96c.tar.bz2
c-portage-922e6955a4628ab7c94c9540f28bbc44b3e6a96c.zip
Implement data_connect functions and the PortageSettings class
Diffstat (limited to 'src/interpreter.c')
-rw-r--r--src/interpreter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interpreter.c b/src/interpreter.c
index 941d2b2..90be58f 100644
--- a/src/interpreter.c
+++ b/src/interpreter.c
@@ -155,7 +155,10 @@ PyObject *executeFunction(const char *module, const char *funcName, const char*
{
mod = PyImport_ImportModule(module);
if (!mod)
+ {
+ printf("Module not found.\n");
return NULL;
+ }
insert(in->modules, mod);
}