'Send bug to github.'

def _report_bug_to_github(self, gh, tback, scan_id, email, plugins):

    userdesc = ('No    user    description    was    provided    for    this    bug    report    given    that    it    was    related    to    handled    exceptions    in    scan    with    id    %s' % scan_id)
    try:
        (ticket_url, ticket_id) = gh.report_bug(None, userdesc, tback=tback, plugins=plugins, autogen=self.autogen, email=email)
    except:
        return (None, None)
    else:
        return (ticket_url, ticket_id)
