Salome HOME
Python3 porting: adoptation SMESH dump python functionality.
[modules/smesh.git] / src / SMESH_I / SMESH_Pattern_i.cxx
index ca5bcd0d2e0c74d85f482bd6e15242916996fef0..4f36ddf40966f9c149ec100388d2502cf56a1590 100644 (file)
@@ -58,7 +58,7 @@ using SMESH::TVar;
 static void addErrorCode(const char* thePyCommand)
 {
   TPythonDump() << "if (isDone != 1):";
-  TPythonDump() << "\tprint '" << thePyCommand << " :', pattern.GetErrorCode()";
+  TPythonDump() << "\tprint('" << thePyCommand << " :', pattern.GetErrorCode())";
 }
 
 //=============================================================================