From: Eric S. Raymond Date: Wed, 3 Oct 2012 21:38:05 +0000 (-0400) Subject: Pacify pylint. X-Git-Tag: 1.6~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=39a65cda27ecf690d2ac70ad06abbe7c0b8690c0;p=irker.git Pacify pylint. --- 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"