Skip to content

Commit

Permalink
Merge pull request #205 from wiegandm/container_import
Browse files Browse the repository at this point in the history
Make 'random-report-gen.gmp' GMP9 compatible
  • Loading branch information
bjoernricks committed Sep 6, 2019
2 parents e3de6bc + 82720ab commit 6bb9080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/random-report-gen.gmp
Expand Up @@ -125,14 +125,14 @@ def generate_data(gmp, **kwargs):

reports = generate_reports(**kwargs)

gmp.import_report(reports[0], task_name=task_name)
gmp.create_container_task(task_name)

task_id = gmp.get_tasks(filter='name={}'.format(task_name)).xpath(
'//@id'
)[0]
task_ids.append(task_id)

for report in reports[1:]:
for report in reports[0:]:
gmp.import_report(report, task_id=task_id)


Expand Down

0 comments on commit 6bb9080

Please sign in to comment.