Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add missing copyright notes
[simgrid.git] / examples / python / platform-failures / platform-failures.py
index a94446642f7a0fee9589bb04c771f33b335b2f32..9850ab45c7b422070034d3b87f6a3bc2b0b49f7d 100644 (file)
@@ -1,4 +1,4 @@
-## Copyright (c) 2007-2022. The SimGrid Team. All rights reserved.
+## Copyright (c) 2007-2023. The SimGrid Team. All rights reserved.
 #
 # This program is free software; you can redistribute it and/or modify it
 # under the terms of the license (GNU LGPL) which comes with this package.
@@ -82,7 +82,7 @@ def sleeper():
     this_actor.info("done sleeping.")
 
 if __name__ == '__main__':
-    assert len(sys.argv) > 2, f"Usage: python app-masterworkers.py platform_file deployment_file"
+    assert len(sys.argv) > 2, "Usage: python app-masterworkers.py platform_file deployment_file"
 
     e = Engine(sys.argv)