Commit 50ee37ae authored by Guillaume Seguin's avatar Guillaume Seguin

Cleanup

parent c3c7f6d0
...@@ -35,8 +35,8 @@ if __name__ == '__main__': ...@@ -35,8 +35,8 @@ if __name__ == '__main__':
for o, a in opts: for o, a in opts:
if o in ('-h', '--help'): if o in ('-h', '--help'):
# FIXME: Fix help # FIXME: Fix help
print "Opts are: --help, -b --baud = baudrate, -v --verbose, \ print ("Opts are: --help, -b --baud = baudrate, -v --verbose, "
-s --statusreport" "-s --statusreport")
sys.exit(1) sys.exit(1)
if o in ('-b', '--baud'): if o in ('-b', '--baud'):
baud = int(a) baud = int(a)
......
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