Mercurial > hg > config
comparison python/actions.py @ 257:f4594857d606
foo
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Mon, 17 Dec 2012 00:00:49 -0800 |
| parents | f40a172512c6 |
| children |
comparison
equal
deleted
inserted
replaced
| 256:f40a172512c6 | 257:f4594857d606 |
|---|---|
| 3 class Actions(object): | 3 class Actions(object): |
| 4 | 4 |
| 5 def __init__(self): | 5 def __init__(self): |
| 6 self.functions = {} | 6 self.functions = {} |
| 7 | 7 |
| 8 def __call__(self, function, *dependencies): | 8 def __call__(self, function, dependencies): |
| 9 import pdb; pdb.set_trace() | 9 import pdb; pdb.set_trace() |
| 10 self.functions[function.func_name] = function | 10 self.functions[function.func_name] = function |
| 11 return function | 11 return function |
| 12 | 12 |
| 13 def do(self, func_name): | 13 def do(self, func_name): |
