generators work again (deleted some necessary stuff)

This commit is contained in:
David Halter
2012-05-22 01:46:08 +02:00
parent 547c952ba1
commit da7ef3ba4b
4 changed files with 25 additions and 16 deletions

View File

@@ -332,14 +332,6 @@ class Function(Scope):
def get_set_vars(self):
n = super(Function, self).get_set_vars()
"""
if self.param_cb:
# This is the really ugly part, where the functional style of this
# get methods is broken, it executes a callback.
# This is important, because something has to inject the params
# into the functions, with the right values.
n += self.param_cb()
"""
for p in self.params:
try:
n.append(p.get_name())