build-bash-completion: Check for None before comparing
authorMichael Hanselmann <hansmi@google.com>
Wed, 25 Nov 2009 11:19:58 +0000 (12:19 +0100)
committerMichael Hanselmann <hansmi@google.com>
Wed, 25 Nov 2009 12:08:56 +0000 (13:08 +0100)
commit8adfb141a6b4a7950cffb1c1daf1b12664cce8ed
tree77eb35319936f61e6732fb039a0a5bc1410531d0
parentab3e6da829a466c2f873e52e3c6d677d67ad9205
build-bash-completion: Check for None before comparing

Comparing a number with None is not a good idea:

  >>> (0 < None, 0 > None)
  (False, True)

This patch also adds build-bash-completion to the list
of checked Python scripts and wraps one line of more
than 80 characters.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Makefile.am
autotools/build-bash-completion