Skip to content

Commit

Permalink
Forward cmdenv, tdb properly to render
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Smith committed Nov 2, 2014
1 parent b8b7d56 commit 0d8be5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions commands/commandenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 0d8be5a

Please sign in to comment.