summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-06-21 01:07:37 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-06-21 01:47:02 +0200
commitf2ac5e3c03c34d13b818ba64441fd6511d8f75a4 (patch)
tree75232ae84cf5cbed561c71083b38efdb1f2e21b9 /setup.cfg
parent823f6952a18c200fccfbd5e54c32c78289ed8570 (diff)
Make set_value() no-change check work for "n"/"m"/"y" strings
Convert "n"/"m"/"y" to 0/1/2 earlier, so that e.g. sym.set_value("y") is recognized as a no-op when sym.user_value == 2. This also helps when loading several configuration files that assign some of the same symbols, because load_config() calls set_value() with "n"/"m"/"y". This could also cut down on the number of times a particular warning is displayed when loading lots of overlapping configuration files.
Diffstat (limited to 'setup.cfg')
0 files changed, 0 insertions, 0 deletions