2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-29 15:28:56 +00:00

utilities: ovs-tcpdump references non-existent exception

ovs-tcpdump would not behave properly when users attempted to pass
invalid arguments.
This commit is contained in:
Ethan Jackson
2010-12-11 15:24:40 -08:00
parent f267de8ae6
commit a4c1a933e9

View File

@@ -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)