No need to call spec; the registry does that

This commit is contained in:
Matthew Tretter 2012-10-20 23:44:26 -04:00
parent 0c4d9738c6
commit 3e2c3803ff

View file

@ -35,8 +35,6 @@ class SpecResultNodeMixin(object):
autodiscover()
spec_id = self._spec_id.resolve(context)
spec = specs.registry.get_spec(spec_id) # TODO: What "hints" here?
if callable(spec):
spec = spec()
return spec
def get_source_file(self, context):