From: rread Date: Mon, 26 Aug 2002 22:15:31 +0000 (+0000) Subject: - use python 1.5.x version of getopt exception X-Git-Tag: 0.5.5~51 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=1c694e49a5da0ee7df81937399af0977ec446129;p=fs%2Flustre-release.git - use python 1.5.x version of getopt exception --- 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()