]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
main(): default-domain argument to getopt.getopt() was missing a = to
authorBarry Warsaw <barry@python.org>
Mon, 21 May 2001 19:58:23 +0000 (19:58 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 21 May 2001 19:58:23 +0000 (19:58 +0000)
indicate it took an argument.  This closes SF patch #402223 by Bastian
Kleineidam.

Tools/i18n/pygettext.py

index 988295217beb387fe9c11cbb362ab12c83b6e5a2..804c98c5e9ed84d39327faac7a1ddf01fdd8790f 100755 (executable)
@@ -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=',