Bugfix: Copying datasets to existing and new history at same time.

Previously would give error about set not having an append method.
This commit is contained in:
John Chilton
2014-05-15 12:04:58 -05:00
parent 17d5ffad32
commit ae1ea31eec
@@ -1000,7 +1000,7 @@ class DatasetInterface( BaseUIController, UsesAnnotations, UsesHistoryMixin, Use
elif target_history_ids:
if not isinstance( target_history_ids, list ):
target_history_ids = target_history_ids.split(",")
target_history_ids = set([ trans.security.decode_id(h) for h in target_history_ids if h ])
target_history_ids = list(set([ trans.security.decode_id(h) for h in target_history_ids if h ]))
else:
target_history_ids = []
done_msg = error_msg = ""