Fixes TypeError in _leave_group_handler

In the _leave_group_handler function, when catching NoNodeError exception, Missing brackets in string formating of MemberNotJoined exception's message cause "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
parent 069c3d308d
commit 24876c3e04
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))