Whamcloud - gitweb
- use python 1.5.x version of exception
authorrread <rread>
Mon, 26 Aug 2002 22:16:19 +0000 (22:16 +0000)
committerrread <rread>
Mon, 26 Aug 2002 22:16:19 +0000 (22:16 +0000)
lustre/utils/lmc

index c12433d..66f046a 100755 (executable)
@@ -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()