Commit c164d0d1 authored by Guillaume Seguin's avatar Guillaume Seguin

Cleanup

parent 24b7f978
......@@ -328,9 +328,8 @@ if __name__ == '__main__':
try:
opts, args = getopt.getopt(sys.argv[1:], "h,b:,v,s",
["help", "baud", "verbose", "statusreport"])
except getopt.GetoptError,err:
except getopt.GetoptError, err:
print str(err)
print help
sys.exit(2)
for o, a in opts:
if o in ('-h', '--help'):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment