From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.136; helo=mga12.intel.com; envelope-from=michael.d.kinney@intel.com; receiver=edk2-devel@lists.01.org Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 57BF12110717E for ; Fri, 8 Jun 2018 23:15:11 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jun 2018 23:15:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,493,1520924400"; d="scan'208";a="55428549" Received: from mdkinney-mobl2.amr.corp.intel.com ([10.254.116.225]) by fmsmga002.fm.intel.com with ESMTP; 08 Jun 2018 23:15:10 -0700 From: "Kinney, Michael D" To: edk2-devel@lists.01.org Cc: Yanyan Sun , Yonghong Zhu , Liming Gao , Michael D Kinney Date: Fri, 8 Jun 2018 23:15:00 -0700 Message-Id: <20180609061505.14380-1-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.14.2.windows.3 Subject: [Patch 0/5] BaseTools/BinToPcd: Multiple clean up tasks X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2018 06:15:11 -0000 https://bugzilla.tianocore.org/show_bug.cgi?id=962 https://bugzilla.tianocore.org/show_bug.cgi?id=963 https://bugzilla.tianocore.org/show_bug.cgi?id=974 https://bugzilla.tianocore.org/show_bug.cgi?id=965 * Change "PcdToBin" to "BinToPcd" * Update error message for --type HII. If either --variable-guid or --variable-name is missing, then print an error message that states that both --variable-guid and --variable-name are required. * --offset must be 8-byte aligned. * Compatible with both Python 2.x and Python 3.x. * Return error code when error message printed. * Follow PEP-8 indent of 4 spaces. https://www.python.org/dev/peps/pep-0008/ Cc: Yanyan Sun Cc: Yonghong Zhu Cc: Liming Gao Signed-off-by: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Kinney, Michael D (5): BaseTools/BinToPcd: Fix typo in error messages BaseTools/BinToPcd: Clarify error message for --type HII BaseTools/BinToPcd: --offset must be 8-byte aligned BaseTools/BinToPcd: Update for Python 3 compatibility BaseTools/BinToPcd: Follow PEP-8 indent of 4 spaces BaseTools/Scripts/BinToPcd.py | 350 +++++++++++++++++++++--------------------- 1 file changed, 179 insertions(+), 171 deletions(-) -- 2.14.2.windows.3