Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Jan 5, 2015
1 parent 4fb503b commit f5fedb9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions commands/local_cmd.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from __future__ import absolute_import, with_statement, print_function, division, unicode_literals
from commands.commandenv import ResultRow
from commands.parsing import MutuallyExclusiveGroup, ParseArgument
from formatting import RowFormat, ColumnFormat
from tradedb import TradeDB
from tradeexcept import TradeException

Expand Down Expand Up @@ -30,8 +32,6 @@
# Perform query and populate result set

def run(results, cmdenv, tdb):
from commands.commandenv import ResultRow

cmdenv = results.cmdenv
tdb = cmdenv.tdb
srcSystem = cmdenv.nearSystem
Expand Down Expand Up @@ -102,8 +102,6 @@ def run(results, cmdenv, tdb):
# Transform result set into output

def render(results, cmdenv, tdb):
from formatting import RowFormat, ColumnFormat

if not results or not results.rows:
raise TradeException("No systems found within {}ly of {}.".format(
results.summary.ly,
Expand Down

0 comments on commit f5fedb9

Please sign in to comment.