From 29b16ebd00742cddca94f740917d1c0191667fc6 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Thu, 30 Jan 2014 15:59:43 -0500 Subject: fixed more pylint tests --- src/sbin/bcfg2-yum-helper | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sbin/bcfg2-yum-helper b/src/sbin/bcfg2-yum-helper index 132f9efce..227d977de 100755 --- a/src/sbin/bcfg2-yum-helper +++ b/src/sbin/bcfg2-yum-helper @@ -15,7 +15,8 @@ from lockfile import FileLock, LockTimeout from optparse import OptionParser try: import json - json.loads # py2.4 json library is structured differently + # py2.4 json library is structured differently + json.loads # pylint: disable=W0104 except (ImportError, AttributeError): import simplejson as json -- cgit v1.2.3-1-g7c22