diff options
author | mathieui <mathieui@mathieui.net> | 2014-03-24 23:25:06 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-03-24 23:25:06 +0100 |
commit | 8d4202501d68e165ef85f720e72cb83ce384eab8 (patch) | |
tree | 7145f62740f7e3176bd845a103e012d4effe4cc7 /src/tabs/xmltab.py | |
parent | 6b1e3dd4ac03b14a4af23cf3e0060f4c3d1de328 (diff) | |
download | poezio-8d4202501d68e165ef85f720e72cb83ce384eab8.tar.gz poezio-8d4202501d68e165ef85f720e72cb83ce384eab8.tar.bz2 poezio-8d4202501d68e165ef85f720e72cb83ce384eab8.tar.xz poezio-8d4202501d68e165ef85f720e72cb83ce384eab8.zip |
Use RawConfigParser.get{int,bool,float} whenever possible
config.get('option', 'value').lower() == 'value' is just ugly and
stupid, especially for bool.
One if in basetabs:556 was also missing a comparison, leading to True
whenever the option was set.
Diffstat (limited to 'src/tabs/xmltab.py')
0 files changed, 0 insertions, 0 deletions