diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-01-16 10:31:24 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-01-16 10:31:24 +0100 |
commit | c71acfbd98d31a0791f54542f83366d3b12ec63d (patch) | |
tree | fde98a91dbbc4e347737163ae0cfc43dc7f390a5 | |
parent | 224b7246891eac59568f35e9fb3aaafe794cdbdf (diff) |
scripts/csv2sto.py: Use python3 style except
-rwxr-xr-x | scripts/csv2sto.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/csv2sto.py b/scripts/csv2sto.py index 381e2ae..5b571cf 100755 --- a/scripts/csv2sto.py +++ b/scripts/csv2sto.py @@ -28,7 +28,7 @@ def usage(): def main(): try: opts, args = getopt.getopt(sys.argv[1:], "fm:n:hT:") - except getopt.GetoptError, err: + except getopt.GetoptError as err: print(str(err)) usage() sys.exit(-1) |