## @file\r
# This file is used to parse exception items found by ECC tool\r
#\r
-# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
self.ExceptionList = self.ExceptionListXml.ToList()\r
\r
def IsException(self, ErrorID, KeyWord, FileID=-1):\r
- if (str(ErrorID), KeyWord) in self.ExceptionList:\r
+ if (str(ErrorID), KeyWord.replace('\r\n', '\n')) in self.ExceptionList:\r
return True\r
else:\r
return False\r