From 4463ae964280210cb0720c2c28a75e64d534fd7f Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Wed, 16 Jun 2010 04:22:51 +0200 Subject: [PATCH] Silence a pylint warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The OS parameters code will bump the number of lines over 10K, and thus we need to silence this (no, we don't want any other module to become this bigβ¦, so we use a targeted silence only). Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- lib/cmdlib.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/cmdlib.py b/lib/cmdlib.py index b1889ab50..a76fb6781 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -21,11 +21,13 @@ """Module implementing the master-side code.""" -# pylint: disable-msg=W0201 +# pylint: disable-msg=W0201,C0302 # W0201 since most LU attributes are defined in CheckPrereq or similar # functions +# C0302: since we have waaaay to many lines in this module + import os import os.path import time -- GitLab