mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Rework small for loop per @mvdbeek's suggestion...
... see https://github.com/galaxyproject/galaxy/pull/2697#discussion_r74939815 for context.
This commit is contained in:
@@ -1299,11 +1299,9 @@ class JobWrapper( object ):
|
||||
else:
|
||||
dataset.set_peek()
|
||||
for context_key in ['name', 'info', 'dbkey']:
|
||||
try:
|
||||
if context_key in context:
|
||||
context_value = context[context_key]
|
||||
setattr(dataset, context_key, context_value)
|
||||
except Exception:
|
||||
pass
|
||||
else:
|
||||
dataset.blurb = "empty"
|
||||
if dataset.ext == 'auto':
|
||||
|
||||
Reference in New Issue
Block a user