]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Ecc/Xml/XmlRoutines.py
BaseTools: Clean up source files
[mirror_edk2.git] / BaseTools / Source / Python / Ecc / Xml / XmlRoutines.py
index 1e45806fa65738320e5e2e36a8ece14fb3b15299..4294016ae3213422d614dbc448372621cf1b4804 100644 (file)
@@ -2,7 +2,7 @@
 # This is an XML API that uses a syntax similar to XPath, but it is written in\r
 # standard python so that no extra python packages are required to use it.\r
 #\r
-# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
@@ -33,7 +33,7 @@ def CreateXmlElement(Name, String, NodeList, AttributeList):
     Element = Doc.createElement(Name)\r
     if String != '' and String is not None:\r
         Element.appendChild(Doc.createTextNode(String))\r
-    \r
+\r
     for Item in NodeList:\r
         if isinstance(Item, type([])):\r
             Key = Item[0]\r
@@ -49,7 +49,7 @@ def CreateXmlElement(Name, String, NodeList, AttributeList):
         Value = Item[1]\r
         if Key != '' and Key is not None and Value != '' and Value is not None:\r
             Element.setAttribute(Key, Value)\r
-    \r
+\r
     return Element\r
 \r
 ## Get a list of XML nodes using XPath style syntax.\r