def leftGroup(ignored, avatar):
 q = avatar.quit()
 q.addCallback(quitServer)
 return q

def leftGroup ( ignored , avatar ) : q = avatar . quit ( ) q . addCallback ( quitServer ) return q
left the group successfully .