[glom/glom-1-28] glom_python_call(): Whitespace for clarity.



commit 7e4b2b7ed023b521757e165b8d78b4d448da7ddc
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 5d5ef75..2b9b43b 100644
--- a/glom/python_embed/glom_python.cc
+++ b/glom/python_embed/glom_python.cc
@@ -209,7 +209,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]