From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: steven.shi@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Tue, 17 Sep 2019 20:21:31 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Sep 2019 20:21:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,519,1559545200"; d="scan'208";a="216797319" Received: from jshi19-mobl.ccr.corp.intel.com ([10.254.215.71]) by fmsmga002.fm.intel.com with ESMTP; 17 Sep 2019 20:21:29 -0700 From: "Steven Shi" To: devel@edk2.groups.io Cc: liming.gao@intel.com, bob.c.feng@intel.com Subject: [PATCH v2 0/1] BaseTools: Add more parameter checking for CopyFileOnChange() Date: Wed, 18 Sep 2019 11:21:08 +0800 Message-Id: <20190918032109.3844-1-steven.shi@intel.com> X-Mailer: git-send-email 2.17.1.windows.2 This patch is to add directory input parameter type checking and error message output for method CopyFileOnChange. V2: Remove the redundant os.path.exists checking for better performance V1: Initial patch Steven Shi (1): BaseTools: Add more parameter checking for CopyFileOnChange() BaseTools/Source/Python/Common/Misc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.1.windows.2