From baa3a437eec9e46bf44530fd7effd5932971fedd Mon Sep 17 00:00:00 2001 From: Gilles DAVID Date: Thu, 22 Jun 2017 13:50:55 +0200 Subject: [PATCH] Fix typo and unnecessary import --- src/INTERP_KERNEL/GaussPoints/CleanUpGauss.py | 1 - src/MEDCoupling_Swig/MEDCouplingDataArrayTypemaps.i | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/INTERP_KERNEL/GaussPoints/CleanUpGauss.py b/src/INTERP_KERNEL/GaussPoints/CleanUpGauss.py index f4658728b..2cf96300f 100644 --- a/src/INTERP_KERNEL/GaussPoints/CleanUpGauss.py +++ b/src/INTERP_KERNEL/GaussPoints/CleanUpGauss.py @@ -18,7 +18,6 @@ # Author : Anthony Geay (EDF R&D) import re -import sys s1=2709 s2=2848 diff --git a/src/MEDCoupling_Swig/MEDCouplingDataArrayTypemaps.i b/src/MEDCoupling_Swig/MEDCouplingDataArrayTypemaps.i index 8f596420d..5da35b90b 100644 --- a/src/MEDCoupling_Swig/MEDCouplingDataArrayTypemaps.i +++ b/src/MEDCoupling_Swig/MEDCouplingDataArrayTypemaps.i @@ -489,7 +489,7 @@ static std::string convertPyObjectToStr(PyObject *obj, const char *msg=NULL) if(msg) oss << msg; else - oss << "PyWrap convertPyObjectToStr : expect a sting like py object !"; + oss << "PyWrap convertPyObjectToStr : expect a string like py object !"; throw INTERP_KERNEL::Exception(oss.str()); } return ret; -- 2.39.2