summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-01-16 10:31:24 +0100
committerTobias Klauser <tklauser@distanz.ch>2013-01-16 10:31:24 +0100
commitc71acfbd98d31a0791f54542f83366d3b12ec63d (patch)
treefde98a91dbbc4e347737163ae0cfc43dc7f390a5 /scripts
parent224b7246891eac59568f35e9fb3aaafe794cdbdf (diff)
scripts/csv2sto.py: Use python3 style except
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/csv2sto.py2
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)