Skip to content

Commit

Permalink
Merge branch 'master' into cartopy-pre-existing-data-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
adybbroe committed Sep 2, 2019
2 parents 9e3eb75 + 0f1d15f commit 5e65e0d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions trollsched/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,6 @@ def single_station(self, sched, start_time, tle_file):

if opts.xml or opts.report:
url = urlparse(opts.output_url or opts.output_dir)
if url.scheme not in ["file", ""]:
directory = "/tmp"
else:
directory = url.path
if opts.xml or opts.report:
"""Allways create xml-file in request-mode"""
pattern_args['mode'] = "request"
Expand Down Expand Up @@ -741,7 +737,7 @@ def collect_labels(newpasses, stats):
p.rec = False
except Exception:
logger.exception("Failed to reset 'rec' for s:%s ap:%s passes[s]:%s p:%s",
a, ap, passes[s], p)
s, ap, passes[s], p)
raise

stats, schedule, (newgraph, newpasses) = get_combined_sched(graph, passes)
Expand Down Expand Up @@ -936,8 +932,6 @@ def run():
logger = logging.getLogger("trollsched")

tle_file = opts.tle
if opts.forward:
forward = opts.forward
if opts.start_time:
start_time = opts.start_time
else:
Expand Down

0 comments on commit 5e65e0d

Please sign in to comment.