diff options
| author | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-06-04 20:24:05 +0000 |
|---|---|---|
| committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-06-04 20:24:05 +0000 |
| commit | a181ec07af8f0ab34d17be777d65935189df5054 (patch) | |
| tree | 880ba3de698da427c845ae2cdce39ea0bbfea5cd /Lib/distutils | |
| parent | 332a1461274c356d38f558b27096708879fc36b4 (diff) | |
| download | cpython-git-a181ec07af8f0ab34d17be777d65935189df5054.tar.gz | |
Set repeat metadata for an option based on repeat local var not
constant.
Diffstat (limited to 'Lib/distutils')
| -rw-r--r-- | Lib/distutils/fancy_getopt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py index fe9b0d4d94..cb89e070d7 100644 --- a/Lib/distutils/fancy_getopt.py +++ b/Lib/distutils/fancy_getopt.py @@ -182,7 +182,7 @@ class FancyGetopt: ("invalid short option '%s': " "must a single character or None") % short - self.repeat[long] = 1 + self.repeat[long] = repeat self.long_opts.append(long) if long[-1] == '=': # option takes an argument? |
