Skip to content

Commit

Permalink
Allow get_history calls with create=False when evaluation workflows.
Browse files Browse the repository at this point in the history
No reasons to prevent this I guess - since create means create if a history isn't available not force the creation of a history.
  • Loading branch information
jmchilton committed Nov 13, 2017
1 parent 1a412bf commit 06e9509
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/galaxy/work/context.py
Expand Up @@ -28,8 +28,6 @@ def __init__(self, app, user=None, history=None, workflow_building_mode=False):
self.workflow_building_mode = workflow_building_mode

def get_history(self, create=False):
if create:
raise NotImplementedError("Cannot create histories from a work request context.")
return self.__history

def set_history(self):
Expand Down

0 comments on commit 06e9509

Please sign in to comment.