From: Eric S. Raymond Date: Mon, 1 Oct 2012 06:21:25 +0000 (-0400) Subject: pylint cleanup. X-Git-Tag: 1.3~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd3fb056c4c7f714647209e12a172b6ae62759ce;p=irker.git pylint cleanup. --- diff --git a/Makefile b/Makefile index de3a7ca..481a098 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ clean: rm -f irkerd.8 irker-*.tar.gz *~ rm -f SHIPPER.* *.html -PYLINTOPTS = --rcfile=/dev/null --reports=n --include-ids=y --disable="C0103,C0111,C0301,R0201,R0902,R0903,R0912,E1101,W0201,W0621,W0702" +PYLINTOPTS = --rcfile=/dev/null --reports=n --include-ids=y --disable="C0103,C0111,C0301,R0201,R0902,R0903,R0912,E1101,W0201,W0621,W0702,F0401" pylint: @pylint --output-format=parseable $(PYLINTOPTS) irkerd @pylint --output-format=parseable $(PYLINTOPTS) irkerhook.py diff --git a/irkerd b/irkerd index d2030e6..a8e961f 100755 --- a/irkerd +++ b/irkerd @@ -43,7 +43,8 @@ ANTI_BUZZ_DELAY = 0.09 # Anti-buzz delay after queue-empty check # "threading" with a coroutine-using impostor. Threads then become # ultra-light-weight and cooperatively scheduled. try: - import eventlet; eventlet.monkey_patch() + import eventlet + eventlet.monkey_patch() green_threads = True # With greenlets we don't worry about thread exhaustion, only the # file descriptor limit (typically 1024 on modern Unixes). Thus we