#\r
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
#\r
-# This program and the accompanying materials are licensed and made available\r
-# under the terms and conditions of the BSD License which accompanies this\r
-# distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
-from ...basemodel import ini\r
-from ...edk2.model import dsc\r
-from ...edk2.model import inf\r
-from ...edk2.model import dec\r
+from plugins.EdkPlugins.basemodel import ini\r
+from plugins.EdkPlugins.edk2.model import dsc\r
+from plugins.EdkPlugins.edk2.model import inf\r
+from plugins.EdkPlugins.edk2.model import dec\r
import os\r
-from ...basemodel.message import *\r
+from plugins.EdkPlugins.basemodel.message import *\r
\r
class SurfaceObject(object):\r
_objs = {}\r
@return: instance of this class\r
\r
"""\r
- obj = object.__new__(cls, *args, **kwargs)\r
+ obj = object.__new__(cls)\r
if "None" not in cls._objs:\r
cls._objs["None"] = []\r
cls._objs["None"].append(obj)\r
ErrorMsg("%s item is duplicated defined in packages: %s and %s" %\r
(name, parent.GetFilename(), cls._objs[name].GetParent().GetFilename()))\r
return None\r
- obj = object.__new__(cls, *args, **kwargs)\r
+ obj = object.__new__(cls)\r
cls._objs[name] = obj\r
return obj\r
elif issubclass(parent.__class__, Module):\r