From: Tom Lendacky Subject: [PATCH][ACM] Fix for python build warning in security tools Date: Tue, 24 Jan 2006 09:02:47 -0600 Message-ID: <1138114967.12662.8.camel@tomlt2.austin.ibm.com> Reply-To: toml@us.ibm.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-ORokgER9SmBTS7787OL8" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --=-ORokgER9SmBTS7787OL8 Content-Type: text/plain Content-Transfer-Encoding: 7bit It turns out that the hg export command doesn't like to include zero size files that have been added in it's diff output. Because of this the __init__.py file was never created for the xensec_gen tool. This patch (both in-line and as an attachment) creates the file and thus eliminates the build warning(s). Signed-off-by: Tom Lendacky Regards, Tom # HG changeset patch # User toml@tomlt2.austin.ibm.com # Node ID 79dc1e96570102e228d22b2e39f09724ff4b596a # Parent 34f2b388beb0c89b4f2edb04239d2fac41d760f5 Adding __init__.py file to remove build warning. It turns out the hg export command does not include zero size files in the generated diff and this was overlooked. diff -r 34f2b388beb0 -r 79dc1e965701 tools/security/python/xensec_gen/__init__.py --- /dev/null Mon Jan 23 14:47:00 2006 +++ b/tools/security/python/xensec_gen/__init__.py Mon Jan 23 19:13:00 2006 @@ -0,0 +1,1 @@ + --=-ORokgER9SmBTS7787OL8 Content-Disposition: attachment; filename=xensec_gen.diff Content-Type: text/x-patch; name=xensec_gen.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit # HG changeset patch # User toml@tomlt2.austin.ibm.com # Node ID 79dc1e96570102e228d22b2e39f09724ff4b596a # Parent 34f2b388beb0c89b4f2edb04239d2fac41d760f5 Adding __init__.py file to remove build warning. It turns out the hg export command does not include zero size files in the generated diff and this was overlooked. diff -r 34f2b388beb0 -r 79dc1e965701 tools/security/python/xensec_gen/__init__.py --- /dev/null Mon Jan 23 14:47:00 2006 +++ b/tools/security/python/xensec_gen/__init__.py Mon Jan 23 19:13:00 2006 @@ -0,0 +1,1 @@ + --=-ORokgER9SmBTS7787OL8 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-ORokgER9SmBTS7787OL8--