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
Pylint examples/*.py.
[simgrid.git]
/
examples
/
python
/
actor-daemon
/
actor-daemon.py
diff --git
a/examples/python/actor-daemon/actor-daemon.py
b/examples/python/actor-daemon/actor-daemon.py
index
457aed1
..
a6f1b83
100644
(file)
--- a/
examples/python/actor-daemon/actor-daemon.py
+++ b/
examples/python/actor-daemon/actor-daemon.py
@@
-3,8
+3,12
@@
# 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.
# 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
+"""
+Usage: actor-daemon.py platform_file [other parameters]
+"""
+
import sys
import sys
+from simgrid import Actor, Engine, Host, this_actor
def worker():
def worker():