Douglas Schilling Landgraf has uploaded a new change for review. Change subject: engine_page: replace != None to is not None ......................................................................
engine_page: replace != None to is not None PEP E711 complain about comparison to None Change-Id: I93e481e632bbf2599d987a716026f940cd3b0581 Signed-off-by: Douglas Schilling Landgraf <[email protected]> --- M src/engine_page.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node-plugin-vdsm refs/changes/96/20996/1 diff --git a/src/engine_page.py b/src/engine_page.py index 28989ca..2288385 100644 --- a/src/engine_page.py +++ b/src/engine_page.py @@ -145,7 +145,7 @@ elif changes.contains_any(["action.cert.reject"]): model.update(cert_path=None) utils.fs.Config().unpersist(self._cert_path) - if self._cert_path != None: + if self._cert_path is not None: os.unlink(self._cert_path) self._fp_dialog.close() self._server, self._port, self._cert_path = None, None, None -- To view, visit http://gerrit.ovirt.org/20996 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I93e481e632bbf2599d987a716026f940cd3b0581 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node-plugin-vdsm Gerrit-Branch: master Gerrit-Owner: Douglas Schilling Landgraf <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
