def report_success(self, host, pid, success_id):
        'mark task as successfully completed'
        # Keep permanent record of success ID.
        print >>self.successfile, success_id
        self.successfile.flush()
        self.nsuccess += 1
        try:
            self.clients[(host, pid)] += 1
        except __HOLE__:
            print >>sys.stderr, 'report_success: unknown client %s:%d' \
                    % (host, pid)
        try:
            del self.pending[success_id]
        except KeyError:
            print >>sys.stderr, 'report_success: unknown ID %s' \
                    % str(success_id)
        return True  # USE THIS AS DEFAULT XMLRPC RETURN VALUE
dataset/ETHPy150Open cjlee112/pygr/pygr/coordinator.py/Coordinator.report_success