Skip to content

Commit

Permalink
removed unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
bgol committed Sep 22, 2017
1 parent e537531 commit 08da7fd
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions plugins/edapi_plug.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ def askForStationData(self, system, stnName=None, station=None):
Ask for new or updated station data
"""
tdb, tdenv = self.tdb, self.tdenv
askForData = False

stnDefault = namedtuple(
'stnDefault', [
Expand All @@ -455,15 +456,6 @@ def askForStationData(self, system, stnName=None, station=None):
]
)

# defaults for Station, which could come from API
askForData = False
if not station:
defMarket, defShipyard, defOutfitting = "?", "?", "?"
else:
defMarket = station.market
defShipyard = station.shipyard
defOutfitting = station.outfitting

def tellUserAPIResponse(defName, defValue):
if defValue == "Y":
tdenv.NOTE("{:>12} in API response", defName)
Expand Down

0 comments on commit 08da7fd

Please sign in to comment.