Salome HOME
Copyright update 2021
[tools/yacsgen.git] / Examples / pygui1 / components.py
index 45dada315fe51c2b56ecf19f8d2a6b7303173d6c..d2d2fb97226a71a22b31b7e9931d522b3a8e3229 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2009-2016  EDF R&D
+# Copyright (C) 2009-2021  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
@@ -48,7 +48,7 @@ class A(SALOME_DriverPy.SALOME_DriverPy_i):
     def createObject( self, study, name ):
       "Create object.  "
       try:
-        print study,name
+        print (study,name)
         builder = study.NewBuilder()
         father = study.FindComponent( "pycompos" )
         if father is None: