commit/galaxy-central: carlfeberhard: galaxy/exceptions: add __str__ to MessageException; galaxy/model: add hda.purged to hda.get_api_value
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/7b807f69906e/ changeset: 7b807f69906e user: carlfeberhard date: 2012-10-30 21:50:37 summary: galaxy/exceptions: add __str__ to MessageException; galaxy/model: add hda.purged to hda.get_api_value affected #: 2 files diff -r 63f3b0857be8dae339622b23aa8d10b1ff3f3757 -r 7b807f69906eff1ea1fa3ea367b299c628736d71 lib/galaxy/exceptions/__init__.py --- a/lib/galaxy/exceptions/__init__.py +++ b/lib/galaxy/exceptions/__init__.py @@ -9,6 +9,8 @@ def __init__( self, err_msg, type="info" ): self.err_msg = err_msg self.type = type + def __str__( self ): + return self.err_msg class ItemDeletionException( MessageException ): pass diff -r 63f3b0857be8dae339622b23aa8d10b1ff3f3757 -r 7b807f69906eff1ea1fa3ea367b299c628736d71 lib/galaxy/model/__init__.py --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -1484,6 +1484,7 @@ model_class = self.__class__.__name__, name = hda.name, deleted = hda.deleted, + purged = hda.purged, visible = hda.visible, state = hda.state, file_size = int( hda.get_size() ), Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket