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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user