Author: dmeyer
Date: Fri Feb 16 16:37:56 2007
New Revision: 9220
Modified:
trunk/tvdev/bin/freevo-tvdev
Log:
fix error handling
Modified: trunk/tvdev/bin/freevo-tvdev
==============================================================================
--- trunk/tvdev/bin/freevo-tvdev (original)
+++ trunk/tvdev/bin/freevo-tvdev Fri Feb 16 16:37:56 2007
@@ -158,8 +158,7 @@
freevo.tvdev.detect(cfgfile)
if not freevo.tvdev.create():
log.error('no active devices found, terminate')
- usage()
- sys.exit(0)
+ usage(1)
# create controller
c = freevo.tvdev.Controller()
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog