Message ID | 20200908081026.4701-3-robin.jarry@6wind.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=6wind.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=6wind.com header.i=@6wind.com header.a=rsa-sha256 header.s=google header.b=J1ZCGND8; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BlyX773tDz9sSJ for <incoming-buildroot@patchwork.ozlabs.org>; Tue, 8 Sep 2020 18:11:03 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 48A4F8722F; Tue, 8 Sep 2020 08:11:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZZQgNUP96nKm; Tue, 8 Sep 2020 08:10:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id F419A87239; Tue, 8 Sep 2020 08:10:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6E7661BF2B8 for <buildroot@lists.busybox.net>; Tue, 8 Sep 2020 08:10:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6AC8886442 for <buildroot@lists.busybox.net>; Tue, 8 Sep 2020 08:10:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vJ473gmWm6vN for <buildroot@lists.busybox.net>; Tue, 8 Sep 2020 08:10:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 39FA585F3E for <buildroot@buildroot.org>; Tue, 8 Sep 2020 08:10:51 +0000 (UTC) Received: by mail-wm1-f44.google.com with SMTP id q9so16355501wmj.2 for <buildroot@buildroot.org>; Tue, 08 Sep 2020 01:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ep3xhBk+m4sL+Tico1nGQXlGW+S26uleAfPVZobb3LE=; b=J1ZCGND8eap3oSMTv/Gi4xePMltaTmMVSniXfGR50B3MSoXCRW9lI9Hy+YoWbWObza BpQgp9dicREPQ5zDPH3mMcbz+eeIvUXhOrehJYlrQ31sSx+LGddtM+XOcXm3CmH0Y+6P m3ZQ0QEly3p+dI25B3Fygd/KEyYeNGKpqTjiH9/BTxbdc5XNeYh9w4nhJXnC/5dQd1Zu AWgxuhcL5DrJl1l0ugxvF6vYHiRRw5v5EoGOtO/j2scWd5u039iUPG5jwqnetaICabIR VucTh7A9aH8up12qqs+EyLKCIBOyw1AWFTr/fwJnjOUgjr1DiTsMEaDtKbFor6N0l6q1 oqYQ== 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=ep3xhBk+m4sL+Tico1nGQXlGW+S26uleAfPVZobb3LE=; b=GK2GKuGkYibbYXYlWMi1OEWVYiar7QMmCNnB80LA3NL1SDVS2SQ1FcuNqmzComqyGK +7g/iH1KDzLGhgZi2yqKWRLZLeoIOliO2YxaM0r6HQNt52bRmbheKTfT+CjoWz1Uguhg YtsMOn2vwCDMV4e1bwFsM6v+w9eHqQodCK7w0gLs8aXItVncz0uNEpiBGPO5Tl2fVcdL BahQcVd2tTBeuB4g83Rx1ZLP7SP7g17TKJ5JsaBAYwKLcu0D7yQdFe5fEJYAHIbOO3je o9+L/xblfpxnlzg5l+v29jfct6NFumgJ6yZ/ZZSKbYSEBL6yOi0XCHNrMt6mApICIF+r wNlQ== X-Gm-Message-State: AOAM530QcXHENHA/Nx7tyL+OQ1pxbvlCNSax0tblMPAL4ylHpNZ2M7Nd agTB0WbuR46uOzubSRUMoYqimsMIZ2JV5Ay3 X-Google-Smtp-Source: ABdhPJwy7x8ynPmY1d09PHRPBwT1jo3hSsYUAG9dx4e5IVupC6hiBZrtSKEDCxAgLHVDa7nmpCVBZQ== X-Received: by 2002:a7b:c059:: with SMTP id u25mr3070260wmc.103.1599552649158; Tue, 08 Sep 2020 01:10:49 -0700 (PDT) Received: from tom.dev.6wind.com. (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id e18sm32273109wrx.50.2020.09.08.01.10.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 01:10:48 -0700 (PDT) From: Robin Jarry <robin.jarry@6wind.com> To: buildroot@buildroot.org Date: Tue, 8 Sep 2020 10:10:24 +0200 Message-Id: <20200908081026.4701-3-robin.jarry@6wind.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200908081026.4701-1-robin.jarry@6wind.com> References: <20200904112908.21686-1-julien.floret@6wind.com> <20200908081026.4701-1-robin.jarry@6wind.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 2/4] pycompile: sort imports X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: "Yann E . MORIN" <yann.morin.1998@free.fr> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series | pycompile: fix .pyc source paths + improvements | expand |
diff --git a/support/scripts/pycompile.py b/support/scripts/pycompile.py index fb1a12b2b782..b713fe19323c 100644 --- a/support/scripts/pycompile.py +++ b/support/scripts/pycompile.py @@ -6,11 +6,13 @@ when a python byte code generation failed. Inspired from: http://stackoverflow.com/questions/615632/how-to-detect-errors-from-compileall-compile-dir ''' + from __future__ import print_function -import sys -import py_compile -import compileall + import argparse +import compileall +import py_compile +import sys def check_for_errors(comparison):
Sort imports alphabetically. Signed-off-by: Robin Jarry <robin.jarry@6wind.com> --- support/scripts/pycompile.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)