diff --git a/commands/commandenv.py b/commands/commandenv.py index b9933924..000f6c45 100644 --- a/commands/commandenv.py +++ b/commands/commandenv.py @@ -10,8 +10,10 @@ def __init__(self, cmdenv): self.cmdenv = cmdenv self.summary, self.rows = {}, [] - def render(self): - self.cmdenv._cmd.render(self) + def render(self, cmdenv=None, tdb=None): + cmdenv = cmdenv or self.cmdenv + tdb = tdb or cmdenv.tdb + cmdenv._cmd.render(self, cmdenv, tdb) class ResultRow(object):