bmaptool: silence few false pylint warnings
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 21 Feb 2013 09:00:49 +0000 (11:00 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 21 Feb 2013 09:00:49 +0000 (11:00 +0200)
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 <artem.bityutskiy@intel.com>
bmaptool

index 193f4b5..90cb0ec 100755 (executable)
--- 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.