Fix pep8.py and its invocation.
authorChris Rivera <cmr@litl.com>
Wed, 20 May 2009 23:29:33 +0000 (19:29 -0400)
committerJohan Dahlin <johan@gnome.org>
Thu, 28 May 2009 15:43:16 +0000 (12:43 -0300)
commitf941537d1c0a40f0906490ed160db6c79af572d3
tree2fa6464c1cc2ecfaaceb974d1e143170fcf1866a
parentaa94335b84d17512281ab3ed4cd20fb1fad9dcd8
Fix pep8.py and its invocation.

pep8.py:input_file() normally returns the number of errors found in a
given file, but it returns an empty dict if the file is excluded.  Change
it to return 0 instead.

config.py is auto-generated with a prefix that may be longer than
80 characters.  Exclude config.py in the pep8.py check.  This fixes
4042.
Makefile.am
misc/pep8.py