mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Remove unnecessary lines
This commit is contained in:
@@ -1655,8 +1655,6 @@ class BaseDataToolParameter( ToolParameter ):
|
||||
def _get_history( self, trans, history=None ):
|
||||
class_name = self.__class__.__name__
|
||||
assert trans is not None, "%s requires a trans" % class_name
|
||||
if history is None:
|
||||
history = trans.get_history()
|
||||
if history is None:
|
||||
history = trans.get_history( create=True )
|
||||
assert history is not None, "%s requires a history" % class_name
|
||||
|
||||
Reference in New Issue
Block a user