Fix for python build warning in security tools
PATCH 1/1 Fix for python build warning in security tools
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).
Regards,
Tom
# HG changeset patch
# User [email protected]
# 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.
tools/security/python/xensec_gen/__init__.py new file +1 -0
@@ -0,0 +1,1 @@ +
# HG changeset patch
# User [email protected]
# 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.
tools/security/python/xensec_gen/__init__.py new file +1 -0
@@ -0,0 +1,1 @@ +
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Ewan Mellor
AppliedQuoted 5 lines · Tom Lendacky
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__.pyfile was never created for thexensec_gentool. This patch (both in-line and as an attachment) creates the file and thus eliminates the build warning(s).
Applied, thank you.
Ewan.