Salome HOME
Copyright update 2021
[modules/smesh.git] / src / Tools / padder / spadderpy / __init__.py
index 0031b907da0ef0eceaec8e87daeae25fc4ba45c0..8a1128e9b79d795f363936c0ec73d91fc50fcd29 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2011-2016  EDF R&D
+# Copyright (C) 2011-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
@@ -98,11 +98,11 @@ def loadSpadderCatalog():
     import SALOME_ModuleCatalog
     catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog)
     if not catalog:
-        raise RuntimeError, "Can't accesss module catalog"
+        raise RuntimeError("Can't access module catalog")
 
     filename = getSpadderCatalogFilename()
     catalog.ImportXmlCatalogFile(filename)
 
     from salome.kernel import services
-    print "The list of SALOME components is now:" 
-    print services.getComponentList()
+    print("The list of SALOME components is now:") 
+    print(services.getComponentList())