# HG changeset patch # User Jeff Hammel # Date 1355725648 28800 # Node ID 1f7325245dc892608bf623203733a41c15cce7d8 # Parent 56537ed6ebc6e2f165da08fff60778fb609ea9d3 more stubbing diff -r 56537ed6ebc6 -r 1f7325245dc8 python/actions.py --- a/python/actions.py Sun Dec 16 22:21:17 2012 -0800 +++ b/python/actions.py Sun Dec 16 22:27:28 2012 -0800 @@ -6,8 +6,12 @@ self.functions = {} def __call__(self, function): + self.functions[function.func_name] = function return function + def do(self, func_name, *args, **kwargs): + pass + action = Actions() @action