def __close_issue(self, rpc_server, xsrf_token):
        try:
            xsrf_request_body = urllib.urlencode({utils.XSRF_TOKEN: xsrf_token})
            close_issue_uri = utils.CLOSE_ISSUE_TEMPLATE % {
                  utils.ISSUE: self.__issue}
            rpc_server.Send(close_issue_uri, payload=xsrf_request_body)
        except urllib2.HTTPError:
            print utils.FAILED_CLOSE_TEMPLATE % {
                utils.ISSUE: self.__issue,
                utils.SERVER: self.__server
            }
        else:
            print 'Issue %d has been closed.' % (self.__issue,)
Closes the issue associated with the current SubmitAction.
dataset/ETHPy150Open googlearchive/git-rv/submit.py/SubmitAction.__close_issue