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

index 94f28d5..175a36d 100755 (executable)
@@ -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()