A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid redefining built-in "list".
[simgrid.git]
/
examples
/
python
/
actor-suspend
/
actor-suspend.py
diff --git
a/examples/python/actor-suspend/actor-suspend.py
b/examples/python/actor-suspend/actor-suspend.py
index
5fecb46
..
703ba15
100644
(file)
--- a/
examples/python/actor-suspend/actor-suspend.py
+++ b/
examples/python/actor-suspend/actor-suspend.py
@@
-75,7
+75,7
@@
if __name__ == '__main__':
"Usage: actor-suspend.py platform_file [other parameters]")
e.load_platform(sys.argv[1]) # Load the platform description
"Usage: actor-suspend.py platform_file [other parameters]")
e.load_platform(sys.argv[1]) # Load the platform description
-
list
= e.get_all_hosts()
- Actor.create("dream_master",
list
[0], dream_master)
+
hosts
= e.get_all_hosts()
+ Actor.create("dream_master",
hosts
[0], dream_master)
e.run() # Run the simulation
e.run() # Run the simulation