]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/GenFds/OptRomFileStatement.py
BaseTools:change some incorrect parameter defaults
[mirror_edk2.git] / BaseTools / Source / Python / GenFds / OptRomFileStatement.py
index 0c54f48da22d5b040a00a37045902772aeb9a0ff..1bd4d4572a17e4d55c7795f2047074c85ba2d18f 100644 (file)
@@ -34,7 +34,10 @@ class OptRomFileStatement:
     #   @param  Dict        dictionary contains macro and value pair\r
     #   @retval string      Generated FFS file name\r
     #\r
-    def GenFfs(self, Dict = {}, IsMakefile=False):\r
+    def GenFfs(self, Dict = None, IsMakefile=False):\r
+\r
+        if Dict is None:\r
+            Dict = {}\r
 \r
         if self.FileName is not None:\r
             self.FileName = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FileName)\r