diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2013-07-01 10:51:04 -0500 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2013-07-07 18:14:28 +0100 |
commit | d6806671c1ae96227acfb8504e98cf2278da5f90 (patch) | |
tree | f453d5cc8146852e7a1a9194f9ad60eadf644498 /alot/settings/utils.py | |
parent | 949c5b17b48ed8e45d315ba9c55d3ace1b511cb3 (diff) |
pep8&pyflakes fixes
mostly automatically fixed
Diffstat (limited to 'alot/settings/utils.py')
-rw-r--r-- | alot/settings/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/settings/utils.py b/alot/settings/utils.py index c3dbf3b0..f4cfecbc 100644 --- a/alot/settings/utils.py +++ b/alot/settings/utils.py @@ -41,11 +41,11 @@ def read_config(configpath=None, specpath=None, checks={}): except ConfigObjError as e: raise ConfigError(e.message) - if results != True: + if results is not True: error_msg = '' for (section_list, key, res) in flatten_errors(config, results): if key is not None: - if res == False: + if res is False: msg = 'key "%s" in section "%s" is missing.' msg = msg % (key, ', '.join(section_list)) else: |