[glom] glom_python_call(): Whitespace for clarity.



commit a087a34a9331cc79da3f935127eabeaec42a798e
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Feb 29 12:33:16 2016 +0100

    glom_python_call(): Whitespace for clarity.

 glom/python_embed/glom_python.cc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/glom/python_embed/glom_python.cc b/glom/python_embed/glom_python.cc
index 9318b69..2b2d5f5 100644
--- a/glom/python_embed/glom_python.cc
+++ b/glom/python_embed/glom_python.cc
@@ -208,7 +208,9 @@ static boost::python::object glom_python_call(Field::glom_field_type result_type
 
   //TODO: How can we requests a specific version to avoid confusion
   //between the parallel-installed Gda-5.0 and Gda-6.0 APIs?
-  func_def = "def " + func_signature + ":\n  import glom_" GLOM_ABI_VERSION_UNDERLINED "\n  from 
gi.repository import Gda\n" + func_def;
+  func_def = "def " + func_signature + ":\n"
+  "  import glom_" GLOM_ABI_VERSION_UNDERLINED "\n"
+  "  from gi.repository import Gda\n" + func_def;
 
   //We did this in main(): Py_Initialize();
 


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