Salome HOME
Updated copyright comment
[modules/hexablock.git] / bin / runHEXABLOCK.py
index dc05e7357ad356185601f4ce91ce411e20cf7b11..63837be9dbf9e757180fb4405326345a8a1e0df0 100755 (executable)
@@ -1,5 +1,5 @@
-#!/usr/bin/env python
-# Copyright (C) 2009-2014  CEA/DEN, EDF R&D
+#!/usr/bin/env python3
+# Copyright (C) 2009-2024  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -33,7 +33,6 @@ def test(clt):
 #
 
 if __name__ == "__main__":
-   import user
    from runSalome import *
    clt,args = main()
    
@@ -42,8 +41,8 @@ if __name__ == "__main__":
    #
    
    if clt != None:
-     print
-     print " --- registered objects tree in Naming Service ---"
+     print()
+     print(" --- registered objects tree in Naming Service ---")
      clt.showNS()
      session=clt.waitNS("/Kernel/Session")
      catalog=clt.waitNS("/Kernel/ModulCatalog")