Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[python/pep8] Avoid wildcard imports.
[simgrid.git] / examples / python / actor-kill / actor-kill.py
index bb85af9..ec51e8e 100644 (file)
@@ -3,7 +3,7 @@
 # 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 *
+from simgrid import Actor, Engine, Host, this_actor
 import sys
 
 
@@ -40,7 +40,7 @@ def killer():
     this_actor.sleep_for(1)
 
     # that's a no-op, there is no zombies in SimGrid
-    this_actor.info("Kill victim_b, even if it's already dead")
+    this_actor.info("Kill victim B, even if it's already dead")
     victim_b.kill()
 
     this_actor.sleep_for(1)