Message ID | 20180811165400.16487-1-raj.khem@gmail.com |
---|---|
State | Accepted |
Commit | 3c05c8fff779bd190b31fa8aa16b7a1b24420a60 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1270951ljj; Sat, 11 Aug 2018 09:54:17 -0700 (PDT) X-Google-Smtp-Source: AA+uWPy05+th+vTDpQDUBYpkmK2NiUCC9x9Vifhz+ea2BuMu+Y0g6skrGjQA1JBoFg31kp4mRCOY X-Received: by 2002:a62:6602:: with SMTP id a2-v6mr12028686pfc.159.1534006457590; Sat, 11 Aug 2018 09:54:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534006457; cv=none; d=google.com; s=arc-20160816; b=ArPEw/c7wwLmAzFAZ+y+yg07UdDhIo89SNJTeYas05MbUY3U5BBvg3tpsOrBxfeZxJ hhRhjbUUPz9oBEOzBbX4Nk7ihwgawIM1c6Y1+bI7NDNco22gFtyXYbqrW9wk+HqWhyLF VUugKBD/23dkQ4o35h/86hZ4ThBluJNvTEa/l5bYgeFJv4kVB6eZLyDllYtvVKfCsZ5y pB5jY13eucq54LD5YAVCAPOaJB7i9ISEuD07nj98DtB+NbWkbDl76a5Ro2zgDUmMospR t4VMhoezOIs0C56NAqdqclJiYeC9m+7Z5maYW/oHVyvei8QqowblrtPh98UBv2ak+IOt WRnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=cjRPJB/7NJzCrb/DTE29LEFecpuRGtN5pl2kWibI1ks=; b=RP0P6ZXnBq1NvBlm15AobGwKAaAqgqaGYczuzbsLnUfoDNctrj701eTiQ9hxQmfvy5 8e83ljqiLpfjUns3jTuprM/xwcZhnyQKWfRYkiy09S6r2E9EtsiWJ5wUNVeE+yUwapjR zYnSwRsVnmwK0TFmzKwIZxzu3uF2m6yRS/gZ+GWAa7Ioz5uw0qcYld47m878GdJ11wKn NXmRgrqH0eDIBUsRwPA2rud0GGuN4aACinlJFiqv7S80eZR3gXzTOXFWbvIW8BDHlzrt JjIVOJn2KAKHzG6ujlJ54/oKbbZ8mYXGx7QlQpLQ1hsbUni7G5Hg+c0VlBhMfGxP0IOI dXDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=KNM+8vnu; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: <openembedded-core-bounces@lists.openembedded.org> Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id p3-v6si10122117pld.329.2018.08.11.09.54.16; Sat, 11 Aug 2018 09:54:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=KNM+8vnu; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 4E8A478F0B; Sat, 11 Aug 2018 16:54:13 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f66.google.com (mail-pl0-f66.google.com [209.85.160.66]) by mail.openembedded.org (Postfix) with ESMTP id 03E6B78E94 for <openembedded-core@lists.openembedded.org>; Sat, 11 Aug 2018 16:54:11 +0000 (UTC) Received: by mail-pl0-f66.google.com with SMTP id ba4-v6so5253784plb.11 for <openembedded-core@lists.openembedded.org>; Sat, 11 Aug 2018 09:54:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=XYg6zsdfLvzcrksJHrhTYUtYS5K86/0HV24PFmoiIEs=; b=KNM+8vnu4MArRBy/bGknQ2RzxJKpr5hOK5FL+IoRFPNsBKBNCOQk+2f13ZmBMwuJEj 6OAq2/M/dsdJUOW9TpYxa3j+JFXnuUWmKpX6atxYzPvorYK/ylRQKUCEitzubKqMsuxE IFw3lj0DwzgnBp8DOjpoynAnT0527ysnTjuh/tigM0j0ej/jP57Sm1HVPjVkl2lWcsA+ uAOaiEGm2KJYyjPWMGBNwqmBNy5mEVupX218S8grT5tGw+pqsEsa8EpXc0N81pQ56GNH pMcN8yqFvqLHWcBp0txi86pgBEhnPIu9F7LsZqkPTYSit2g3YJOQzdF1e0jgvTGhSgGK iURQ== 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; bh=XYg6zsdfLvzcrksJHrhTYUtYS5K86/0HV24PFmoiIEs=; b=s0fahQjVDokwb2ipk1E9ToJUYKIZPz1yKkbFIUCkjUwih4AxRkpHiW++ePSmxgSckz r+R9Dq7bHjR0CfyHyUYWi0LtqOAf6RlLiggS0KNSLReIw2QwRfYlfaKjShbKwPWKvn83 p/z6cOa8sVyI4nTa63kLDHgl4FrqG5DRIHTEEuGscXA/yE0Z0quFb8SImF0fpzB5WOMB +mrUg70/8xybhGZK6KFdAHy1rHaWN1iUshnrohCd/4sLgIf3sPwSgNbiF3IjYzaSiSUA hl3kgkY/3DnDCvUfnS+wcfeS5ckNBv7Csn82xAS4sYKxPMMAIabja46pFSOXIZTpMjIK 4vcw== X-Gm-Message-State: AOUpUlFK3c++H8ZAXhHOIeyz9ejFPahunGYz3Mfn8X4ecyxtGnl6hm3A /BzzHoz3ftHaA9tDqv2T1E/SFqvG X-Received: by 2002:a17:902:da4:: with SMTP id 33-v6mr10308507plv.193.1534006452571; Sat, 11 Aug 2018 09:54:12 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::3947]) by smtp.gmail.com with ESMTPSA id f75-v6sm41700155pfk.85.2018.08.11.09.54.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Aug 2018 09:54:11 -0700 (PDT) From: Khem Raj <raj.khem@gmail.com> To: openembedded-core@lists.openembedded.org Date: Sat, 11 Aug 2018 09:54:00 -0700 Message-Id: <20180811165400.16487-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 Subject: [OE-core] [PATCH] devtool: Use ConfigParser instead of SafeConfigParser X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer <openembedded-core.lists.openembedded.org> List-Unsubscribe: <http://lists.openembedded.org/mailman/options/openembedded-core>, <mailto:openembedded-core-request@lists.openembedded.org?subject=unsubscribe> List-Archive: <http://lists.openembedded.org/pipermail/openembedded-core/> List-Post: <mailto:openembedded-core@lists.openembedded.org> List-Help: <mailto:openembedded-core-request@lists.openembedded.org?subject=help> List-Subscribe: <http://lists.openembedded.org/mailman/listinfo/openembedded-core>, <mailto:openembedded-core-request@lists.openembedded.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org |
Series |
devtool: Use ConfigParser instead of SafeConfigParser
|
expand
|
diff --git a/scripts/devtool b/scripts/devtool index d681a1929a..0e578c0de3 100755 --- a/scripts/devtool +++ b/scripts/devtool @@ -51,7 +51,7 @@ class ConfigHandler(object): def __init__(self, filename): self.config_file = filename - self.config_obj = configparser.SafeConfigParser() + self.config_obj = configparser.ConfigParser() def get(self, section, option, default=None): try:
The SafeConfigParser class has been renamed to ConfigParser in Python 3.2+ see http://bugs.python.org/issue10627 This alias will be removed in future versions.So we can use ConfigParser directly instead. Signed-off-by: Khem Raj <raj.khem@gmail.com> --- scripts/devtool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core