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=oXRGFiRr; spf=pass (domain: linaro.org, ip: 209.85.128.51, mailfrom: leif.lindholm@linaro.org) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by groups.io with SMTP; Thu, 19 Sep 2019 09:03:40 -0700 Received: by mail-wm1-f51.google.com with SMTP id 5so5267468wmg.0 for ; Thu, 19 Sep 2019 09:03:39 -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=Vy5KZCuo4neMMALNBf9umLeNszOSXAr8B03g5Cfs5MY=; b=oXRGFiRrfFJOk6KxRRNzQV+Pu4x4n1u7fHHm7g9sPY+HLFLTHeE85vMZLLEr3uelWB Nfe9wasWR44iNwL3XLpDl4MfKtcyWvZrau4KDOwNcJNtOHuiMSkzr0q2EFWb22t28wY5 Eiq38uohPdaOO43hV3yszOI1Qlc/WbDc4yda2GqoJtqw1CVPE6gPzE+jTXnoGYP3Askr nHDzlzP7ytOxU2bjG8OIdvTeWMYSacZQTde657imv5Yg2uTbisJDMeC3C8wHpr75OJh4 JqGTJW3CSD0CRJ87joqY2amWg0pSfrPUKuDLztjp4YP4ds26AtduYgx7JoMhWxSZowx5 B5sg== 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=Vy5KZCuo4neMMALNBf9umLeNszOSXAr8B03g5Cfs5MY=; b=aRHbEdqiLo6ecbgUD82AhzLXteSkb+BLa3tjm/h//YDtPGyl+Ho2Zno+WZ7e6wo+Qr OKzpFvC/h5FnmwJmnp7tdu5XUIMyCcp4yiT8AQGqqCn00d0Wu+HMwEvPpCAmvu226ZDy vCWoPGf1AOPnj09YdE4fsLi5jQ0V1ZASwNvK7Lp+k9WKGfUcvU2/EaX6T45kFX8A/5Cl 7LrrLxIIRNz7u8ADaxuCKMg6cNLokrI9Efp3rJ6Zzx2UpExv2KJmfGe/lrbYBHnkCm/Q G0+m8migpd86iQGqoI157U5utdt0GsLwfslI9ZsrpOAeZ/CjMwfLYjMbi7naxkdhU9zp g2LA== X-Gm-Message-State: APjAAAXfsY/uE3Cv6P5Zx0ugy7UKfwMYZ3fuW1ctA6X9AEbonoPBh9OC 8MPDRRNN3BVCLsm96fdtkl5A4A5GGqs= X-Google-Smtp-Source: APXvYqyOAOyK7IuETihkfHBD4NUUyHAgGuKYS/e0c1/1EGLk6jh4vMEBxzJTzCQVM83cMrl3wZcFNQ== X-Received: by 2002:a1c:e008:: with SMTP id x8mr3354397wmg.85.1568909017945; Thu, 19 Sep 2019 09:03:37 -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 v4sm15948662wrg.56.2019.09.19.09.03.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2019 09:03:37 -0700 (PDT) From: "Leif Lindholm" To: devel@edk2.groups.io Cc: Bob Feng , Liming Gao Subject: [PATCH v2 8/9] BaseTools: correct line endings for ConvertFce Python script Date: Thu, 19 Sep 2019 17:03:18 +0100 Message-Id: <20190919160319.16270-9-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190919160319.16270-1-leif.lindholm@linaro.org> References: <20190919160319.16270-1-leif.lindholm@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Bob Feng Cc: Liming Gao Signed-off-by: Leif Lindholm Reviewed-by: Bob Feng --- 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