]> granicus.if.org Git - zziplib/commit
docs: dbk2man: fix deprecated way of checking for `None`
authorPatrick Steinhardt <ps@pks.im>
Tue, 21 May 2019 12:24:49 +0000 (14:24 +0200)
committerPatrick Steinhardt <ps@pks.im>
Thu, 1 Aug 2019 06:31:42 +0000 (08:31 +0200)
commit2edb7374caac57b545d877ba1616e5875d2a0b97
tree92e38520fc3ceada7b9115f8cb9911d62cca19ab
parentac696c170751a2415e5cc7ba00ab4380e85c6cd2
docs: dbk2man: fix deprecated way of checking for `None`

In oldish versions of Python, it was possible to check for `None` by
simply saying `if not X`, while the newer way would explicitly check `if
X is None`. Use the latter way of asking for None, which has been
supported at least since Python 2.6.
docs/dbk2man.py