]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaDataTable.py
BaseTools: dont make iterator into list if not needed
[mirror_edk2.git] / BaseTools / Source / Python / Ecc / MetaFileWorkspace / MetaDataTable.py
index 6b980150f53e1b050a38e1e35afa4cdce202797f..760f88cc72942e6a2bd733419882d4c5ccfc51a2 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # This file is used to create/update/query/erase table for files\r
 #\r
-# Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2008 - 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
@@ -73,7 +73,7 @@ class Table(object):
         self.ID = self.ID + self._ID_STEP_\r
         if self.ID >= (self.IdBase + self._ID_MAX_):\r
             self.ID = self.IdBase + self._ID_STEP_\r
-        Values = ", ".join([str(Arg) for Arg in Args])\r
+        Values = ", ".join(str(Arg) for Arg in Args)\r
         SqlCommand = "insert into %s values(%s, %s)" % (self.Table, self.ID, Values)\r
         EdkLogger.debug(EdkLogger.DEBUG_5, SqlCommand)\r
         self.Cur.execute(SqlCommand)\r