[glom] Really check if pygda module is available.



commit 3460b8c0dff11219e620f66038320982c813745f
Author: Johannes Schmid <jhs jsschmid de>
Date:   Thu Sep 17 17:44:04 2009 +0200

    Really check if pygda module is available.
    
    A typo caused the check for the glom module twice while the gda module wasn't checked at all

 ChangeLog    |    7 +++++++
 glom/main.cc |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a8cc2f5..a9fcd6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-09-17  Johannes Schmid  <jschmid openismus com>
+
+	* glom/main.cc:
+	Really check if pygda module is available. A typo caused
+	the check for the glom module twice while the gda module
+	wasn't checked at all
+
 2009-09-14  Johannes Schmid  <jschmid openismus com>
 
 	* glom/dialog_import_csv.cc:
diff --git a/glom/main.cc b/glom/main.cc
index 6acd336..de06d9b 100644
--- a/glom/main.cc
+++ b/glom/main.cc
@@ -230,7 +230,7 @@ bool check_pyglom_is_available_with_warning()
 
 bool check_pygda_is_available_with_warning()
 {
-  if(glom_python_module_is_available())
+  if(gda_python_module_is_available())
     return true;
 
    /* The python module could not be imported by Glom, so warn the user: */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]