From f1b94534a44cf2301e59c3da3cfb0f2ec0931b85 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 8 Oct 2017 15:36:10 +0100 Subject: =?UTF-8?q?Change=20all=20=E2=80=9Cnot=20=E2=80=A6=20in=20?= =?UTF-8?q?=E2=80=A6=E2=80=9D=20into=20=E2=80=9C=E2=80=A6=20not=20in=20?= =?UTF-8?q?=E2=80=A6=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- poezio/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'poezio/config.py') 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 -- cgit v1.2.3