tbird20d / grabserial

Grabserial - python-based serial dump and timing program - good for embedded Linux development
GNU General Public License v2.0
198 stars 79 forks source link

putserial - SyntaxError: multiple exception types must be parenthesized #65

Closed mungewell closed 2 years ago

mungewell commented 2 years ago

HEAD on Windows 10.

C:\Users\swood\Downloads\grabserial-bp-i2c-snoop-20220126>"c:\Program Files\Python310\python.exe" putserial -h
  File "C:\Users\swood\Downloads\grabserial-bp-i2c-snoop-20220126\putserial", line 191
    except getopt.GetoptError, err:
           ^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
tbird20d commented 2 years ago

Thanks for bringing this to my attention. I fixed the except statement here to be compatible with Python3.