Salome HOME
Merge branch 'master' into V9_dev
[modules/yacs.git] / src / yacsloader / samples / err1.xml
index 8dc4cf427213ed0bc065903293d189283510943a..aac6b1dd9087cfa6da51076c25bc12d0fda90c85 100644 (file)
@@ -1,10 +1,10 @@
 <!--
-  Copyright (C) 2006-2008  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
     <inline name="node0" >
       <script>
         <code>p1="toto"</code>
-        <code>print p1</code>
+        <code>print(p1)</code>
       </script>
       <outport name="p1" type="string"/>
     </inline>
 
     <service name="node1" >
-        <component>HELLO</component>
+        <component>PYHELLO</component>
         <method>makeBanner</method>
         <load container="B"/>
         <inport name="p1" type="string"/>
@@ -46,7 +46,7 @@
     <inline name="node0" >
       <script>
         <code>p1="toto"</code>
-        <code>print p1</code>
+        <code>print(p1)</code>
         <code>#a=1/0</code>
       </script>
       <inport name="p1" type="string"/>