summaryrefslogtreecommitdiff
path: root/maximus/python/py/script_example.py
diff options
context:
space:
mode:
authorburet2007-11-14 14:56:19 +0000
committerburet2007-11-14 14:56:19 +0000
commit6f2697297c2d5b4d9fcb7a9d0a977cabaa6fc2ee (patch)
treea13b2720410b0c79876685561efae8dc9ded8555 /maximus/python/py/script_example.py
parent438bdde962acb18fb12806eee0a4c67b30e5f19f (diff)
Maximus V2: commit the init wrapper for the Boost interface module and update scripts.
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1001 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'maximus/python/py/script_example.py')
-rw-r--r--maximus/python/py/script_example.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/maximus/python/py/script_example.py b/maximus/python/py/script_example.py
index 0d99b1e912..dfa1fb84fa 100644
--- a/maximus/python/py/script_example.py
+++ b/maximus/python/py/script_example.py
@@ -23,11 +23,7 @@ def my_cb (msg):
# Instantiate a Maximus object and initialize it.
maximus = Maximus()
-argv = 'script_example.py'
-for s in sys.argv:
- argv = argv + ' ' + s
-argc = len(sys.argv)+1
-maximus.init(argc,argv)
+maximus.init(sys.argv)
# Create three stations.
stationA = maximus.create_sta()