Update of /cvsroot/mahogany/M/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8453/src/Python

Modified Files:
        PythonHelp.cpp 
Log Message:
fixed check for whether module has been loaded

Index: PythonHelp.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/Python/PythonHelp.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -b -u -2 -r1.37 -r1.38
--- PythonHelp.cpp      18 Sep 2004 19:27:54 -0000      1.37
+++ PythonHelp.cpp      18 Sep 2004 20:19:04 -0000      1.38
@@ -155,5 +155,5 @@
    *module = PyImport_ImportModule((char *)modname.c_str());
 
-   if ( !module )
+   if ( !*module )
    {
       ERRORMESSAGE(( _("Module \"%s\" couldn't be loaded."),



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to