Skip to contentSkip to conversation

Fix for python build warning in security tools

PATCH Applied Tom Lendacky 2 participants 2 messages Jan 24, 2006

lore
Share & tools
lore
#0 lore raw

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
diff -r 34f2b388beb0 -r 79dc1e965701 tools/security/python/xensec_gen/__init__.py
@@ -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
diff -r 34f2b388beb0 -r 79dc1e965701 tools/security/python/xensec_gen/__init__.py
@@ -0,0 +1,1 @@
+

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Applied
#1 lore raw
Quoted 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__.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).

Applied, thank you.

Ewan.