summaryrefslogtreecommitdiffstats
path: root/modules/audit.py
diff options
context:
space:
mode:
authorYaakov Nemoy <loupgaroublond@gmail.com>2008-09-28 10:29:00 -0400
committerYaakov M. Nemoy <loupgaroublond@gmail.com>2008-09-28 10:29:00 -0400
commitd491ac3a2199cb1f3cdcd4f2f6b3d877b3a65a65 (patch)
tree9940bed9d7c8edd1d416659f23b5c56c929ef8c9 /modules/audit.py
parent40119a669a625b839503d91aa5d40e112f7e46e2 (diff)
downloadfedora-devshell-d491ac3a2199cb1f3cdcd4f2f6b3d877b3a65a65.tar.gz
fedora-devshell-d491ac3a2199cb1f3cdcd4f2f6b3d877b3a65a65.tar.xz
fedora-devshell-d491ac3a2199cb1f3cdcd4f2f6b3d877b3a65a65.zip
Make the shell functions a bit more modular for scripting
Diffstat (limited to 'modules/audit.py')
-rw-r--r--modules/audit.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/audit.py b/modules/audit.py
new file mode 100644
index 0000000..5e89f53
--- /dev/null
+++ b/modules/audit.py
@@ -0,0 +1,9 @@
+
+
+class Audit:
+ """ Perform various code audits on a specified Pkg """
+
+ tools = ['flawfinder', 'rats']
+
+ def __init__(self, pkg):
+ """ @param pkg: a Pkg instance """