From 1bcd1fc071638512cc0d051bfee73891215af98c Mon Sep 17 00:00:00 2001 From: Albert ARIBAUD Date: Thu, 13 Dec 2018 11:42:01 +0100 Subject: [PATCH 1/2] Fixed typo in python install path detection Without this fix, cmake -DBUILD_PYTHON_BINDINGS=ON fails. --- pyiec61850/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyiec61850/CMakeLists.txt b/pyiec61850/CMakeLists.txt index 00c256f1..159ef4bc 100644 --- a/pyiec61850/CMakeLists.txt +++ b/pyiec61850/CMakeLists.txt @@ -34,7 +34,7 @@ swig_link_libraries(iec61850 ${PYTHON_LIBRARIES} ${LIBS}) # Finding python modules install path execute_process( COMMAND ${PYTHON_EXECUTABLE} -c - "from distutils.sysconfig import get_python_lib; import.sys; sys.stdout.write(get_python_lib())" + "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())" OUTPUT_VARIABLE PYTHON_SITE_DIR ) From 7463a2c319a41473f2630fedda06363d800c52fc Mon Sep 17 00:00:00 2001 From: Davide Andreuzza Date: Thu, 20 Dec 2018 15:28:17 +0100 Subject: [PATCH 2/2] fix bufOvfl typo in parsing OptionFields --- .../src/com/libiec61850/scl/model/OptionFields.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/model_generator/src/com/libiec61850/scl/model/OptionFields.java b/tools/model_generator/src/com/libiec61850/scl/model/OptionFields.java index 226f1188..28b3d453 100644 --- a/tools/model_generator/src/com/libiec61850/scl/model/OptionFields.java +++ b/tools/model_generator/src/com/libiec61850/scl/model/OptionFields.java @@ -94,7 +94,7 @@ public class OptionFields { if (boolVal != null) this.configRef = boolVal; - boolVal = ParserUtils.parseBooleanAttribute(optFieldsNode, "bufOvlf"); + boolVal = ParserUtils.parseBooleanAttribute(optFieldsNode, "bufOvfl"); if (boolVal != null) this.bufOvfl = boolVal; }