]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Ecc/FileProfile.py
BaseTools: Use absolute import in Ecc
[mirror_edk2.git] / BaseTools / Source / Python / Ecc / FileProfile.py
index a071fd020eb4c747b4fab267693acfdb1d6b1180..1d3fbf2d3b7914aa886b0434b09d3d6019741d8f 100644 (file)
 # 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
@@ -54,5 +55,3 @@ class FileProfile :
 \r
         except IOError:\r
             raise Warning("Error when opening file %s" % FileName)\r
-\r
-\r