diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-10-08 15:36:10 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-10-08 15:38:06 +0100 |
commit | f1b94534a44cf2301e59c3da3cfb0f2ec0931b85 (patch) | |
tree | c8ac2221e7844c35db0df8f1011ee8a3e1fcb5e0 /poezio/config.py | |
parent | b2b64426724bcbe6e58f7baab6434219fc8812ed (diff) | |
download | poezio-f1b94534a44cf2301e59c3da3cfb0f2ec0931b85.tar.gz poezio-f1b94534a44cf2301e59c3da3cfb0f2ec0931b85.tar.bz2 poezio-f1b94534a44cf2301e59c3da3cfb0f2ec0931b85.tar.xz poezio-f1b94534a44cf2301e59c3da3cfb0f2ec0931b85.zip |
Change all “not … in …” into “… not in …”.
Diffstat (limited to 'poezio/config.py')
-rw-r--r-- | poezio/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/config.py b/poezio/config.py index c68e8452..155b11ba 100644 --- a/poezio/config.py +++ b/poezio/config.py @@ -280,7 +280,7 @@ class Config(RawConfigParser): else: sections, result_lines = result - if not section in sections: + if section not in sections: result_lines.append('[%s]' % section) result_lines.append('%s = %s' % (option, value)) else: @@ -304,7 +304,7 @@ class Config(RawConfigParser): else: sections, result_lines = result - if not section in sections: + if section not in sections: log.error('Tried to remove the option %s from a non-' 'existing section (%s)', option, section) return True |