From cd3fb056c4c7f714647209e12a172b6ae62759ce Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 1 Oct 2012 02:21:25 -0400 Subject: [PATCH] pylint cleanup. --- Makefile | 2 +- irkerd | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.26.2