X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fovs-tcpundump.in;h=4f239057b4715ad4cdccbc5d2776925eeb6d015a;hb=25608d9720000ba2f4b4a881ca2a8cf519404f96;hp=c01899848c6469f26779ee2927e7268eccae66b0;hpb=7aa697ddd2dfe494693be590ae5b03cbec5f9944;p=openvswitch diff --git a/utilities/ovs-tcpundump.in b/utilities/ovs-tcpundump.in index c0189984..4f239057 100755 --- a/utilities/ovs-tcpundump.in +++ b/utilities/ovs-tcpundump.in @@ -36,7 +36,7 @@ if __name__ == "__main__": try: options, args = getopt.gnu_getopt(sys.argv[1:], 'hV', ['help', 'version']) - except getopt.GetoptPcapException, geo: + except getopt.GetoptError, geo: sys.stderr.write("%s: %s\n" % (argv0, geo.msg)) sys.exit(1)