Salome HOME
Merge branch 'master' into V9_dev
[modules/yacs.git] / src / yacsloader / samples / foreach7.xml
index 8b89456f7a74eed3a174fabaf6dc3363b803be67..edbcdb72223eca0d4a811ce5f5342d118967cca6 100644 (file)
@@ -1,11 +1,11 @@
 <?xml version='1.0' encoding='iso-8859-1' ?>
 <!--
-  Copyright (C) 2006-2013  CEA/DEN, EDF R&D
+  Copyright (C) 2006-2016  CEA/DEN, EDF R&D
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
-  version 2.1 of the License.
+  version 2.1 of the License, or (at your option) any later version.
 
   This library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -20,7 +20,6 @@
 
 -->
 <proc name="newSchema_1">
-   <property name="DefaultStudyID" value="1"/>
    <type name="string" kind="string"/>
    <struct name="Engines/dataref">
       <member name="ref" type="string"/>
@@ -84,7 +83,7 @@ for run in range(numberOfRun):
     runs[run].append(medFile)
     runs[run].append(meshName)
     pass
-print "There is(are) ",numberOfRun," runs of Fake Compo on process ",os.getpid()
+print("There is(are) ",numberOfRun," runs of Fake Compo on process ",os.getpid())
 ]]></code></script>
       <outport name="numberOfRun" type="int"/>
       <outport name="runs" type="seqpyobj"/>