summary refs log tree commit diff
path: root/pkgs/build-support/kernel
diff options
context:
space:
mode:
authorMichaƂ Janiszewski <janisozaur+signed@gmail.com>2018-10-30 21:22:43 +0100
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-10-30 21:30:56 +0100
commit3f051869844cb24c980a3c495b7886159ff28ce6 (patch)
treefd627a3c8697cc08213c4bdf1d34bd4f060718fb /pkgs/build-support/kernel
parentc3a1c0008baf467886806cd00430de7a9fe89d06 (diff)
downloadnixlib-3f051869844cb24c980a3c495b7886159ff28ce6.tar
nixlib-3f051869844cb24c980a3c495b7886159ff28ce6.tar.gz
nixlib-3f051869844cb24c980a3c495b7886159ff28ce6.tar.bz2
nixlib-3f051869844cb24c980a3c495b7886159ff28ce6.tar.lz
nixlib-3f051869844cb24c980a3c495b7886159ff28ce6.tar.xz
nixlib-3f051869844cb24c980a3c495b7886159ff28ce6.tar.zst
nixlib-3f051869844cb24c980a3c495b7886159ff28ce6.zip
Compare to `None` using identity `is` operator
This is a trivial change that replaces `==` operator with `is` operator, following PEP 8 guideline:

> Comparisons to singletons like None should always be done with is or is not, never the equality operators.

https://legacy.python.org/dev/peps/pep-0008/#programming-recommendations
Diffstat (limited to 'pkgs/build-support/kernel')
0 files changed, 0 insertions, 0 deletions