Salome HOME
Go on
[modules/yacs.git] / src / yacsloader / samples / err2.xml
index 4a3fa04f24ae8bf0597ed3ad7f4d733da26f1d03..d8cb115fb09331c64137a60441b51526bd879f61 100644 (file)
@@ -1,10 +1,10 @@
 <!--
-  Copyright (C) 2006-2008  CEA/DEN, EDF R&D
+  Copyright (C) 2006-2019  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>
       <outport name="p1" type="string"/>