]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/GenFds/OptRomFileStatement.py
BaseTools: fix imports
[mirror_edk2.git] / BaseTools / Source / Python / GenFds / OptRomFileStatement.py
index 4ef9b4d0e9a81f5eb4e844ca6bdfcbe52701ea15..e56174ec3c86fc22aa4662893a80a5ee1f1b17f0 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # process OptionROM generation from FILE statement\r
 #\r
-#  Copyright (c) 2007 - 2017, 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
 ##\r
 # Import Modules\r
 #\r
+from __future__ import absolute_import\r
 import Common.LongFilePathOs as os\r
 \r
-from GenFdsGlobalVariable import GenFdsGlobalVariable\r
-## \r
+from .GenFdsGlobalVariable import GenFdsGlobalVariable\r
+##\r
 #\r
 #\r
 class OptRomFileStatement:\r
@@ -40,10 +41,10 @@ class OptRomFileStatement:
     #   @retval string      Generated FFS file name\r
     #\r
     def GenFfs(self, Dict = {}, IsMakefile=False):\r
-        \r
+\r
         if self.FileName is not None:\r
             self.FileName = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FileName)\r
-        \r
+\r
         return self.FileName\r
 \r
 \r