[ovs-dev] [PATCH] utilities: ovs-tcpdump references non-existent exception
Ethan Jackson
ethan at nicira.com
Sat Dec 11 23:45:56 UTC 2010
ovs-tcpdump would not behave properly when users attempted to pass
invalid arguments.
---
utilities/ovs-tcpundump.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/utilities/ovs-tcpundump.in b/utilities/ovs-tcpundump.in
index c018998..4f23905 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)
--
1.7.3.2
More information about the dev
mailing list