From 39a65cda27ecf690d2ac70ad06abbe7c0b8690c0 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" <esr@thyrsus.com> Date: Wed, 3 Oct 2012 17:38:05 -0400 Subject: [PATCH] Pacify pylint. --- irkerhook.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/irkerhook.py b/irkerhook.py index 0d1e284..61ff52c 100755 --- a/irkerhook.py +++ b/irkerhook.py @@ -39,8 +39,10 @@ default_channels = "irc://chat.freenode.net/%(project)s,irc://chat.freenode.net/ import os, sys, commands, socket, urllib from pipes import quote as shellquote -try: import simplejson as json -except ImportError: import json +try: + import simplejson as json # Faster, also makes us Python-2.4-compatible +except ImportError: + import json version = "1.5" -- 2.26.2