diff options
author | Barry Warsaw <barry@python.org> | 2001-05-21 19:58:23 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-05-21 19:58:23 (GMT) |
commit | 2b63969a5adbc43a3843102f95b45424da229745 (patch) | |
tree | 070fcbad15ba4fb30b6f54c1058a72574c42aa5c /Tools | |
parent | 16b62c13003901cbf1286f46ac845d620026aeb0 (diff) | |
download | cpython-2b63969a5adbc43a3843102f95b45424da229745.zip cpython-2b63969a5adbc43a3843102f95b45424da229745.tar.gz cpython-2b63969a5adbc43a3843102f95b45424da229745.tar.bz2 |
main(): default-domain argument to getopt.getopt() was missing a = to
indicate it took an argument. This closes SF patch #402223 by Bastian
Kleineidam.
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/i18n/pygettext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/i18n/pygettext.py b/Tools/i18n/pygettext.py index 9882952..804c98c 100755 --- a/Tools/i18n/pygettext.py +++ b/Tools/i18n/pygettext.py @@ -369,7 +369,7 @@ def main(): opts, args = getopt.getopt( sys.argv[1:], 'ad:DEhk:Kno:p:S:Vvw:x:', - ['extract-all', 'default-domain', 'escape', 'help', + ['extract-all', 'default-domain=', 'escape', 'help', 'keyword=', 'no-default-keywords', 'add-location', 'no-location', 'output=', 'output-dir=', 'style=', 'verbose', 'version', 'width=', 'exclude-file=', |