diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-04-14 22:47:56 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-04-14 22:50:24 +0200 |
commit | a89f14e0f1c632393d4dc4bf4518de0b79976edc (patch) | |
tree | d04c5fceff16765f1ef825a1667d3609019300d7 /package/openpgm | |
parent | c6f86d593c6875ab99057030a3b27c5490b8eac6 (diff) | |
download | buildroot-a89f14e0f1c632393d4dc4bf4518de0b79976edc.tar.gz buildroot-a89f14e0f1c632393d4dc4bf4518de0b79976edc.zip |
support/graphs: fix comparisons agains None
As Samuel said:
In Python, None is a singleton, and it is recommended to use "is" or
"is not" for testing them [1].
[1] http://legacy.python.org/dev/peps/pep-0008/#programming-recommendations
Reported-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/openpgm')
0 files changed, 0 insertions, 0 deletions