diff options
Diffstat (limited to 'BaseTools/Source/Python/Ecc/FileProfile.py')
-rw-r--r-- | BaseTools/Source/Python/Ecc/FileProfile.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/BaseTools/Source/Python/Ecc/FileProfile.py b/BaseTools/Source/Python/Ecc/FileProfile.py index a071fd020e..1d3fbf2d3b 100644 --- a/BaseTools/Source/Python/Ecc/FileProfile.py +++ b/BaseTools/Source/Python/Ecc/FileProfile.py @@ -16,9 +16,10 @@ # Import Modules
#
+from __future__ import absolute_import
import re
import Common.LongFilePathOs as os
-from ParserWarning import Warning
+from .ParserWarning import Warning
from Common.LongFilePathSupport import OpenLongFilePath as open
CommentList = []
@@ -54,5 +55,3 @@ class FileProfile : except IOError:
raise Warning("Error when opening file %s" % FileName)
-
-
|