summaryrefslogtreecommitdiff
path: root/ofproto/ipfix-gen-entities
diff options
context:
space:
mode:
Diffstat (limited to 'ofproto/ipfix-gen-entities')
-rwxr-xr-xofproto/ipfix-gen-entities2
1 files changed, 1 insertions, 1 deletions
diff --git a/ofproto/ipfix-gen-entities b/ofproto/ipfix-gen-entities
index 11d2aaf9a..54951b63d 100755
--- a/ofproto/ipfix-gen-entities
+++ b/ofproto/ipfix-gen-entities
@@ -114,7 +114,7 @@ if __name__ == '__main__':
try:
options, args = getopt.gnu_getopt(sys.argv[1:], 'hV',
['help', 'version'])
- except getopt.GetoptError, geo:
+ except getopt.GetoptError as geo:
sys.stderr.write('%s: %s\n' % (sys.argv[0], geo.msg))
sys.exit(1)