From c71acfbd98d31a0791f54542f83366d3b12ec63d Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 16 Jan 2013 10:31:24 +0100 Subject: scripts/csv2sto.py: Use python3 style except --- scripts/csv2sto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-54-g00ecf