diff python/actions.py @ 255:1f7325245dc8

more stubbing
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 16 Dec 2012 22:27:28 -0800
parents 56537ed6ebc6
children f40a172512c6
line wrap: on
line diff
--- 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