[Forensics-changes] [yara] 37/368: Also export the version as __version__.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:30:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.5.0
in repository yara.
commit cbb63eeb025615596c686b7664d5b75056095eae
Author: Andreas Moser <amoser at google.com>
Date: Tue Aug 25 21:17:48 2015 +0200
Also export the version as __version__.
---
yara-python/yara-python.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/yara-python/yara-python.c b/yara-python/yara-python.c
index a39e8a0..bd1544d 100644
--- a/yara-python/yara-python.c
+++ b/yara-python/yara-python.c
@@ -1858,6 +1858,7 @@ MOD_INIT(yara)
PyModule_AddIntConstant(m, "CALLBACK_CONTINUE", 0);
PyModule_AddIntConstant(m, "CALLBACK_ABORT", 1);
+ PyModule_AddStringConstant(m, "__version__", YR_VERSION);
PyModule_AddStringConstant(m, "YARA_VERSION", YR_VERSION);
PyModule_AddIntConstant(m, "YARA_VERSION_HEX", YR_VERSION_HEX);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list