offlineimap/ files singleton-comparison

This patch change these errors in the offlineimap folder

C0121: Comparison to None should be 'expr is None' (singleton-comparison)
C0121: Comparison to None should be 'expr is not None' (singleton-comparison)
This commit is contained in:
Rodolfo García Peñas (kix)
2020-08-30 11:27:03 +02:00
parent da2baaaeb7
commit 1a529b6b0e
5 changed files with 15 additions and 15 deletions

View File

@ -245,7 +245,7 @@ class OfflineImap():
# Which ui to use? CLI option overrides config file.
ui_type = config.getdefault('general', 'ui', 'ttyui')
if options.interface != None:
if options.interface is not None:
ui_type = options.interface
if '.' in ui_type:
# Transform Curses.Blinkenlights -> Blinkenlights.