Fix history_contents API adding the HDA to the history twice (resulting in skipped hids)

This commit is contained in:
Dannon Baker
2012-04-10 14:32:13 -04:00
parent 7de86f1fb6
commit 7c2d700c43
-1
View File
@@ -95,7 +95,6 @@ class HistoryContentsController( BaseAPIController, UsesHistoryDatasetAssociatio
except Exception, e:
return str( e )
hda = ld.library_dataset_dataset_association.to_history_dataset_association( history, add_to_history=True )
history.add_dataset( hda )
trans.sa_session.flush()
return hda.get_api_value()
else: