master
Guillaume Seguin 2012-08-04 10:44:32 +02:00
parent 24b7f97887
commit c164d0d144
1 changed files with 1 additions and 2 deletions

View File

@ -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'):