diff options
author | Michi Henning <michi@zeroc.com> | 2004-11-29 05:10:23 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2004-11-29 05:10:23 +0000 |
commit | cfa82a5999061e90132e213a76ddec384f81ab60 (patch) | |
tree | 2cf1c1c871eedda69bce65c4f760c1e736cdfbcd /cpp/config/makeprops.py | |
parent | *** empty log message *** (diff) | |
download | ice-cfa82a5999061e90132e213a76ddec384f81ab60.tar.bz2 ice-cfa82a5999061e90132e213a76ddec384f81ab60.tar.xz ice-cfa82a5999061e90132e213a76ddec384f81ab60.zip |
Fixed bug exposed by upgrade to Python 2.3.
Diffstat (limited to 'cpp/config/makeprops.py')
-rw-r--r-- | cpp/config/makeprops.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/config/makeprops.py b/cpp/config/makeprops.py index 33479393b25..cc2d39248d0 100644 --- a/cpp/config/makeprops.py +++ b/cpp/config/makeprops.py @@ -204,7 +204,7 @@ def writeEntry(lang, label, entry): # Check arguments. # if len(sys.argv) != 3: - usage(progname) + usage() sys.exit(1) option = sys.argv[1] @@ -215,10 +215,10 @@ elif option == "-java": elif option == "-cs": lang = "cs" elif option == "-h" or option == "-?": - usage(progname) + usage() sys.exit(0) else: - usage(progname) + usage() sys.exit(1) # |