summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2008-01-18 11:39:03 -0500
committerLuke Macken <lmacken@redhat.com>2008-01-18 11:39:03 -0500
commit3d93c47dafe278967fe0a1f655c72c9a72165b69 (patch)
treec0756d098f72866a168d37086d41603e75015633 /func
parent2f5e39c567aed2bf0e1f40d9cb016ef014cdc876 (diff)
downloadfunc-3d93c47dafe278967fe0a1f655c72c9a72165b69.tar.gz
func-3d93c47dafe278967fe0a1f655c72c9a72165b69.tar.xz
func-3d93c47dafe278967fe0a1f655c72c9a72165b69.zip
Add a process.memory alias to mem
Diffstat (limited to 'func')
-rw-r--r--func/minion/modules/process.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/func/minion/modules/process.py b/func/minion/modules/process.py
index 50900b4..848e847 100644
--- a/func/minion/modules/process.py
+++ b/func/minion/modules/process.py
@@ -193,6 +193,8 @@ class ProcessModule(func_module.FuncModule):
return results
+ memory = mem
+
def kill(self,pid,signal="TERM"):
if pid == "0":
raise codes.FuncException("Killing pid group 0 not permitted")