pylint cleanup.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 1 Oct 2012 06:21:25 +0000 (02:21 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 1 Oct 2012 06:21:25 +0000 (02:21 -0400)
Makefile
irkerd

index de3a7ca594201db9f0212009f345c4872c225681..481a098450f88d7386efe17ab4319b8c4fb18881 100644 (file)
--- 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 d2030e66635daf838fa3ad0fb48f7cc59dce0ea7..a8e961f084486e99d8fea8a92c6ff3bc1687241f 100755 (executable)
--- 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