BmapCopy: disable a flals pylint warning
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 21 Feb 2013 12:00:13 +0000 (14:00 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 21 Feb 2013 12:00:13 +0000 (14:00 +0200)
Silence this one:
W:275,0: Anomalous backslash in string: '\0'. String constant might be missing an r prefix.

Change-Id: I816d20f284154f2c424a35090461db5a265edcbb
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptools/BmapCopy.py

index 580d318..76c28f7 100644 (file)
@@ -272,7 +272,7 @@ class BmapCopy:
         # exception - the error message will start form new line.
         if self._progress_started:
             # The "move cursor up" escape sequence
-            self._progress_file.write('\033[1A')
+            self._progress_file.write('\033[1A') # pylint: disable=W1401
         else:
             self._progress_started = True