pylint cleanup.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 5 Oct 2012 15:11:48 +0000 (11:11 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 5 Oct 2012 15:11:48 +0000 (11:11 -0400)
irkerd

diff --git a/irkerd b/irkerd
index 37a28a6fac2585d07e54397cca31637487ce909f..436365cb658319086f8ca58ef2915890573f4e10 100755 (executable)
--- a/irkerd
+++ b/irkerd
@@ -58,7 +58,7 @@ except ImportError:
     CONNECTION_MAX = 200
     green_threads = False
 
-import sys, getopt, urlparse, time, random, exceptions
+import sys, getopt, urlparse, time, random
 import threading, Queue, SocketServer
 import irc.client, logging
 try:
@@ -247,7 +247,7 @@ class Connection:
                     self.irker.debug(1, "XMIT_TTL bump (%s transmission) at %s" % (self.servername, time.asctime()))
                     self.queue.task_done()
         except:
-            (exc_type, exc_value, exc_traceback) = sys.exc_info()
+            (exc_type, _exc_value, _exc_traceback) = sys.exc_info()
             self.irker.logerr("exception %s in thread for %s" % \
                               (exc_type, self.servername))
     def live(self):