Fixes TypeError in _leave_group_handler

When catching NoNondeError exception In the _leave_group_handler
function, Missing brackets in string formating of MemberNotJoined
exception message raise a TypeError exception with the message
"TypeError: not enough arguments for format string"

Change-Id: I908a783a6ce912d5bfe6be33288d3b1a3ea93ab3
This commit is contained in:
lahoucine BENLAHMR 2014-02-06 01:13:39 +01:00 committed by Lahoucine BENLAHMR
parent 069c3d308d
commit ea96d78f98
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class BaseZooKeeperDriver(coordination.CoordinationDriver):
raise coordination.MemberNotJoined("member '%s' has not joined "
"the group '%s' or the group "
"has not been created" %
member_id, group_id)
(member_id, group_id))
except exceptions.ZookeeperError as e:
raise coordination.ToozError(str(e))