commit/galaxy-central: guerler: Grids: Convert ill defined conditions to boolean
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/deea87095946/ Changeset: deea87095946 Branch: next-stable User: guerler Date: 2014-02-07 06:05:02 Summary: Grids: Convert ill defined conditions to boolean Affected #: 1 file diff -r d5ce503c01b7e5520133014d0927b3d062eb9705 -r deea87095946ea32d28491b44a120bbc94683150 lib/galaxy/web/framework/helpers/grids.py --- a/lib/galaxy/web/framework/helpers/grids.py +++ b/lib/galaxy/web/framework/helpers/grids.py @@ -768,7 +768,7 @@ return dict( operation=self.label, id=item.id ) def allowed( self, item ): if self.condition: - return self.condition( item ) + return bool(self.condition( item )) else: return True 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)
-
commits-noreply@bitbucket.org