'Send bug to github.'

def _report_bug_to_github(self, gh, summary, userdesc, email):

    try:
        (ticket_url, ticket_id) = gh.report_bug(summary, userdesc, self.tback, self.fname, self.plugins, self.autogen, email)
    except:
        return (None, None)
    else:
        return (ticket_url, ticket_id)
