Merge "fix the %{} when string formatting"

This commit is contained in:
Jenkins 2016-08-11 09:47:53 +00:00 committed by Gerrit Code Review
commit e37ea551e9

View File

@ -61,7 +61,7 @@ class ErrorJoiningPartitioningGroup(Exception):
class MemberNotInGroupError(Exception):
def __init__(self, group_id, members, my_id):
super(MemberNotInGroupError, self).__init__(_LE(
'Group ID: %{group_id}s, Members: %{members}s, Me: %{me}s: '
'Group ID: %(group_id)s, Members: %(members)s, Me: %(me)s: '
'Current agent is not part of group and cannot take tasks') %
{'group_id': group_id, 'members': members, 'me': my_id})