## @file\r
# fragments of source file\r
#\r
-# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# Import Modules\r
#\r
\r
+from __future__ import absolute_import\r
import re\r
import Common.LongFilePathOs as os\r
-from ParserWarning import Warning\r
+from .ParserWarning import Warning\r
from Common.LongFilePathSupport import OpenLongFilePath as open\r
\r
CommentList = []\r
# May raise Exception when opening file.\r
#\r
class FileProfile :\r
- \r
+\r
## The constructor\r
#\r
# @param self The object pointer\r
\r
except IOError:\r
raise Warning("Error when opening file %s" % FileName)\r
- \r
-
\ No newline at end of file