Fixes to errors/warnings raised by pylint 0.24
authorAndrea Spadaccini <spadaccio@google.com>
Mon, 29 Aug 2011 19:28:41 +0000 (20:28 +0100)
committerAndrea Spadaccini <spadaccio@google.com>
Tue, 30 Aug 2011 11:01:50 +0000 (12:01 +0100)
commit17385bd20cc790eb254852162ff1c20fd192de38
treee06031a837f4bcda2b5d29ebe9ccdf5d5550df6a
parent21bf2e2e19f9a02a813645678ffa14b926e25e7c
Fixes to errors/warnings raised by pylint 0.24

Running pylint 0.24.0 revealed 2 errors and 1 warning. Here is how I
fixed them:

* jqueue.py: silenced E1101
* netutils.py: rewrote the list comprehension using extend()
* watcher/__init__.py: fixed a missing format string parameter

These changes are backwards-compatible with pylint 0.21.1.

Signed-off-by: Andrea Spadaccini <spadaccio@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/jqueue.py
lib/netutils.py
lib/watcher/__init__.py