summaryrefslogtreecommitdiffstats
path: root/Tools/msi/sequence.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-09-01 03:09:34 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-09-01 03:09:34 (GMT)
commit64b0ef15097017b20b1edca1d3bc1e38d51feb10 (patch)
treee4a8291bea18c0642c011cfbccf1d6688304fa75 /Tools/msi/sequence.py
parent81378c8296f46c4bc36286438dfc66d48b047bf0 (diff)
parent6fb8fb17bff87fdd5e738430502f34f8729766e3 (diff)
downloadcpython-64b0ef15097017b20b1edca1d3bc1e38d51feb10.zip
cpython-64b0ef15097017b20b1edca1d3bc1e38d51feb10.tar.gz
cpython-64b0ef15097017b20b1edca1d3bc1e38d51feb10.tar.bz2
Merge #12776,#11839: call argparse type function only once.
Before, the type function was called twice in the case where the default was specified and the argument was given as well. This was especially problematic for the FileType type, as a default file would always be opened, even if a file argument was specified on the command line. Patch by Arnaud Fontaine, with additional test by Mike Meyer.
Diffstat (limited to 'Tools/msi/sequence.py')
0 files changed, 0 insertions, 0 deletions