From: rread Date: Mon, 26 Aug 2002 22:16:19 +0000 (+0000) Subject: - use python 1.5.x version of exception X-Git-Tag: 0.5.5~50 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=38ea697f11b7ccb2c00e769b10128db40ab6e6dd;p=fs%2Flustre-release.git - use python 1.5.x version of exception --- diff --git a/lustre/utils/lmc b/lustre/utils/lmc index c12433d..66f046a 100755 --- a/lustre/utils/lmc +++ b/lustre/utils/lmc @@ -557,7 +557,7 @@ def parse_cmdline(argv): options = {} try: opts, args = getopt.getopt(argv, short_opts, long_opts) - except getopt.GetoptError: + except getopt.error: print "invalid opt" usage()