if Pcd.GetSupModuleList():\r
Statement += GenDecTailComment(Pcd.GetSupModuleList())\r
\r
- ArchList = Pcd.GetSupArchList()\r
- ArchList.sort()\r
+ ArchList = sorted(Pcd.GetSupArchList())\r
SortedArch = ' '.join(ArchList)\r
if SortedArch in NewSectionDict:\r
NewSectionDict[SortedArch] = \\r
#\r
if Guid.GetSupModuleList():\r
Statement += GenDecTailComment(Guid.GetSupModuleList()) \r
- ArchList = Guid.GetSupArchList()\r
- ArchList.sort()\r
+ ArchList = sorted(Guid.GetSupArchList())\r
SortedArch = ' '.join(ArchList)\r
if SortedArch in NewSectionDict:\r
NewSectionDict[SortedArch] = \\r
#\r
if Protocol.GetSupModuleList():\r
Statement += GenDecTailComment(Protocol.GetSupModuleList())\r
- ArchList = Protocol.GetSupArchList()\r
- ArchList.sort()\r
+ ArchList = sorted(Protocol.GetSupArchList())\r
SortedArch = ' '.join(ArchList)\r
if SortedArch in NewSectionDict:\r
NewSectionDict[SortedArch] = \\r
#\r
if Ppi.GetSupModuleList():\r
Statement += GenDecTailComment(Ppi.GetSupModuleList())\r
- ArchList = Ppi.GetSupArchList()\r
- ArchList.sort()\r
+ ArchList = sorted(Ppi.GetSupArchList())\r
SortedArch = ' '.join(ArchList)\r
if SortedArch in NewSectionDict:\r
NewSectionDict[SortedArch] = \\r
if LibraryClass.GetSupModuleList():\r
Statement += \\r
GenDecTailComment(LibraryClass.GetSupModuleList())\r
- ArchList = LibraryClass.GetSupArchList()\r
- ArchList.sort()\r
+ ArchList = sorted(LibraryClass.GetSupArchList())\r
SortedArch = ' '.join(ArchList)\r
if SortedArch in NewSectionDict:\r
NewSectionDict[SortedArch] = \\r