Author: dmeyer
Date: Sun Apr 29 12:10:21 2007
New Revision: 2662
Modified:
trunk/beacon/src/__init__.py
Log:
remove not needed parameter and use correct beacon bin on launch
Modified: trunk/beacon/src/__init__.py
==============================================================================
--- trunk/beacon/src/__init__.py (original)
+++ trunk/beacon/src/__init__.py Sun Apr 29 12:10:21 2007
@@ -94,11 +94,9 @@
return _client
-def launch(autoshutdown=False, wait=False, verbose='none'):
+def launch(autoshutdown=False, verbose='none'):
"""
- Lauch a beacon server. If wait is True, this function will block
- until the server is started and connect to it or raise an exception
- if this doesn't work for 5 seconds.
+ Lauch a beacon server.
"""
beacon = os.path.dirname(__file__), '../../../../../bin/beacon'
beacon = os.path.realpath(os.path.join(*beacon))
@@ -106,7 +104,7 @@
# we hope it is in the PATH somewhere
beacon = 'beacon'
- cmd = 'beacon --start --verbose=%s' % verbose
+ cmd = '%s --start --verbose=%s' % (beacon, verbose)
if autoshutdown:
cmd += ' --autoshutdown'
if os.system(cmd):
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog