From de5e8d61a935623011f0a94b107145bc69f4b499 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Thu, 21 Feb 2013 11:00:49 +0200 Subject: [PATCH] bmaptool: silence few false pylint warnings W:339,0: Anomalous backslash in string: '\0'. String constant might be missing an r prefix. W:340,0: Anomalous backslash in string: '\0'. String constant might be missing an r prefix. W:341,0: Anomalous backslash in string: '\0'. String constant might be missing an r prefix. Change-Id: I182700967c1efab7137ae368246e5a9537e14976 Signed-off-by: Artem Bityutskiy --- bmaptool | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bmaptool b/bmaptool index 193f4b5..90cb0ec 100755 --- a/bmaptool +++ b/bmaptool @@ -336,9 +336,9 @@ def setup_logger(loglevel): level is initialized to 'loglevel'. Returns the logger object. """ # Esc-sequences for coloured output - esc_red = '\033[91m' - esc_yellow = '\033[93m' - esc_end = '\033[0m' + esc_red = '\033[91m' # pylint: disable=W1401 + esc_yellow = '\033[93m' # pylint: disable=W1401 + esc_end = '\033[0m' # pylint: disable=W1401 # Change log level names to something less nicer than the default # all-capital 'INFO' etc. -- 2.7.4