From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=PmiBSqBY; spf=pass (domain: linaro.org, ip: 209.85.128.67, mailfrom: leif.lindholm@linaro.org) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by groups.io with SMTP; Wed, 18 Sep 2019 15:43:44 -0700 Received: by mail-wm1-f67.google.com with SMTP id v17so1719476wml.4 for ; Wed, 18 Sep 2019 15:43:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4UjEPRNDURqs3PQr2LjsNUeO5m8hkhIzKsucJGK0Xp0=; b=PmiBSqBYRo62puEdknzKf+S/1SEIsln0T7Ox+Mb/oPIurwToNAqVF3iPaCiw0/aZ7w k8UkYlx1O168GrFgPLiBosuTulwQbv6v1F53U9gVWEm7mEdTBru5EfnEnoSP2pm3ofoV 9xrWYxJGDrZm5EPNcRMdrcwuzlIGc633WB93Wo1Dwomtlt+wJEX43OdsXs8CqVoAPuIF ZJkAx8eJHbS5bu5KYh4ypY1Ofm+fyK+L9W0j3TWFFUgzdLZnrAJ1efoCYL6ixxyXXX/R LKn9wlq533HfDxEZy4uTrjxu0e1mRxsKyf9bsA6J/Rw/0nodDhlVmmxVH7zqDvpMxC8L 3jVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4UjEPRNDURqs3PQr2LjsNUeO5m8hkhIzKsucJGK0Xp0=; b=QGJ+D3DhV46wJmpLfCG1OoshJ1qhQHAhqLJiqiLf3jnGIJOu2k7Tp3ai09yW+6MITh byBbEbx9oLQRlXr7kTBjfCDK4zVRGFKs+Q5cJlBElPqBOVu1lA5gVL8OmuE6oO4fO4bz IuC6c9HL2a9IXF6nawRZoJBvSuTsdde5Jpon0OayRE/0Oy6XBVKsTs0TaN4UeJ8W8AwX NIey8pgOIdQE1ISDsNiZSu3K2Po/XRQTwPrvzVXFm0kvYwbQJ+30ZUHTeMocpD2oLqDh +QXSDR/fcU2/qbQ4swkn5PD6jhCwx9Turiwgy7daqz4r9P3LrwwTBP3XlnnJ/8cOYfHv mJUA== X-Gm-Message-State: APjAAAVvpGfBWWM9P5UTxel5GqB9qOcBK/7kzZDgnUfQXN1o09JPXFbg ZHEqautPaxDfVr7n/U2yUrk0JKcskn4= X-Google-Smtp-Source: APXvYqyNOuMsonwRnHR+kymkdsr1frKTsWCeXrwFyGtbkT2kLPNkOQWfsHRvr5yUib9m9DeTtkD1cg== X-Received: by 2002:a1c:c104:: with SMTP id r4mr198553wmf.64.1568846622659; Wed, 18 Sep 2019 15:43:42 -0700 (PDT) Return-Path: Received: from vanye.hemma.eciton.net (cpc92302-cmbg19-2-0-cust304.5-4.cable.virginm.net. [82.1.209.49]) by smtp.gmail.com with ESMTPSA id y186sm6676950wmd.26.2019.09.18.15.43.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2019 15:43:42 -0700 (PDT) From: "Leif Lindholm" To: devel@edk2.groups.io Cc: Bob Feng , Liming Gao Subject: [PATCH 8/9] BaseTools: correct line endings for ConvertFce Python script Date: Wed, 18 Sep 2019 23:43:30 +0100 Message-Id: <20190918224331.23269-9-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190918224331.23269-1-leif.lindholm@linaro.org> References: <20190918224331.23269-1-leif.lindholm@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Bob Feng Cc: Liming Gao Signed-off-by: Leif Lindholm --- BaseTools/Scripts/ConvertFceToStructurePcd.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BaseTools/Scripts/ConvertFceToStructurePcd.py b/BaseTools/Scripts/ConvertFceToStructurePcd.py index 10f19dbe2f3c..89e6a727a201 100644 --- a/BaseTools/Scripts/ConvertFceToStructurePcd.py +++ b/BaseTools/Scripts/ConvertFceToStructurePcd.py @@ -506,8 +506,8 @@ class mainprocess(object): for i in range(len(info_list)-1,-1,-1): if len(info_list[i]) == 0: info_list.remove(info_list[i]) - for i in (inf_list, title_all, header_list): - i.sort() + for i in (inf_list, title_all, header_list): + i.sort() return keys,title_all,info_list,header_list,inf_list def remove_bracket(self,List): @@ -519,9 +519,9 @@ class mainprocess(object): List[List.index(i)][i.index(j)] = "|".join(tmp) else: List[List.index(i)][i.index(j)] = j - for i in List: - if type(i) == type([0,0]): - i.sort() + for i in List: + if type(i) == type([0,0]): + i.sort() return List def write_all(self): -- 2.20.1