Typo fix.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 2 Oct 2012 15:42:20 +0000 (11:42 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 2 Oct 2012 15:42:20 +0000 (11:42 -0400)
irkerd

diff --git a/irkerd b/irkerd
index 44aca0b774db56db7d746152e2ea6898b0ae901b..fe99a05777bf815b6160cb4c08dd1c461f270761 100755 (executable)
--- a/irkerd
+++ b/irkerd
@@ -414,7 +414,7 @@ class Irker:
                                 del self.servers[oldest]
         except ValueError:
             self.logerr("can't recognize JSON on input: %s" % repr(line))
-        except RuntimeException:
+        except RuntimeError:
             self.logerr("wildly malformed JSON blew the parser stack.")
 
 class IrkerTCPHandler(SocketServer.StreamRequestHandler):