support/graphs: fix comparisons agains None
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 14 Apr 2014 20:47:56 +0000 (22:47 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 14 Apr 2014 20:50:24 +0000 (22:50 +0200)
commita89f14e0f1c632393d4dc4bf4518de0b79976edc
treed04c5fceff16765f1ef825a1667d3609019300d7
parentc6f86d593c6875ab99057030a3b27c5490b8eac6
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>
support/scripts/graph-build-time
support/scripts/graph-depends