Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of framagit.org:simgrid/simgrid
[simgrid.git] / examples / python / exec-remote / exec-remote.py
index 177ad03e95b7442889c78e8aab34e9c7c1d3352e..e8625bfd7e86ab849f730b5457d504d8845c3edd 100644 (file)
@@ -1,10 +1,10 @@
-# Copyright (c) 2018-2021. The SimGrid Team. All rights reserved.
+# Copyright (c) 2018-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.
 
-from simgrid import Actor, Engine, Host, this_actor
 import sys
+from simgrid import Actor, Engine, Host, this_actor
 
 
 class Wizard:
@@ -21,7 +21,8 @@ class Wizard:
         this_actor.info("It started. Running 48.492Mf takes exactly one second on Ginette (but not on Fafard).")
 
         this_actor.sleep_for(0.1)
-        this_actor.info("Loads in flops/s: Boivin={:.0f}; Fafard={:.0f}; Ginette={:.0f}".format(boivin.load, fafard.load,
+        this_actor.info("Loads in flops/s: Boivin={:.0f}; Fafard={:.0f}; Ginette={:.0f}".format(boivin.load,
+                                                                                                fafard.load,
                                                                                                 ginette.load))
         activity.wait()
         this_actor.info("Done!")