From 1c694e49a5da0ee7df81937399af0977ec446129 Mon Sep 17 00:00:00 2001 From: rread Date: Mon, 26 Aug 2002 22:15:31 +0000 Subject: [PATCH] - use python 1.5.x version of getopt exception --- lustre/utils/lconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/utils/lconf b/lustre/utils/lconf index 94f28d5..175a36d 100755 --- a/lustre/utils/lconf +++ b/lustre/utils/lconf @@ -1028,7 +1028,7 @@ def parse_cmdline(argv): args = [] try: opts, args = getopt.getopt(argv, short_opts, long_opts) - except getopt.GetoptError: + except getopt.error: print "invalid opt" usage() -- 1.8.3.1