Salome HOME
add a comment in dump for the disabling of publication in study
[modules/smesh.git] / src / SMESH_I / SMESH_2smeshpy.cxx
index 69b3b0f760514430b6c1374a5750e495167de815..516131d9f4a08e4a713c3b66bd82280d2a66a3d1 100644 (file)
@@ -3818,6 +3818,8 @@ bool _pyCommand::IsMethodCall()
 {
   if ( GetMethod().IsEmpty() )
     return false;
+  if ( myString.StartsWith("#") )
+    return false;
   const char* s = myString.ToCString() + GetBegPos( METHOD_IND ) + myMeth.Length() - 1;
   return ( s[0] == '(' || s[1] == '(' );
 }