summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/fancy_getopt.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/fancy_getopt.py')
-rw-r--r--Lib/distutils/fancy_getopt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py
index fe9b0d4..cb89e07 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?