From 7e0d4531c3b24f473f55c12e4fc9857a9e03e2e8 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Thu, 28 Apr 2011 18:32:25 +0200 Subject: Several improvements of the lint script. Report missing python packages, inform about false positives, fail gracefully if pylint isn't installed. Fixed a bug in the ignore list and added few more files/directories to it. ticket 1184 --- ipalib/cli.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipalib/cli.py') diff --git a/ipalib/cli.py b/ipalib/cli.py index 003df495..57082cc5 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -33,6 +33,7 @@ import termios import struct import base64 try: + #pylint: disable=F0401 import default_encoding_utf8 except ImportError: # This is a chicken-and-egg problem. The api can't be imported unless -- cgit