From d9e67038346d0b3f6509c7d881f1dc63b04cd160 Mon Sep 17 00:00:00 2001 From: johnthagen Date: Sun, 8 Oct 2017 19:46:58 -0400 Subject: [PATCH] Use identity operator `is` when comparing to None --- src/bootstrap/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py index 4a8c3dcebcb49..2576886743949 100644 --- a/src/bootstrap/bootstrap.py +++ b/src/bootstrap/bootstrap.py @@ -498,7 +498,7 @@ def get_toml(self, key): If the key does not exists, the result is None: - >>> rb.get_toml("key3") == None + >>> rb.get_toml("key3") is None True """ for line in self.config_toml.splitlines():