'Report one or more bugs to w3af\'s Github, menu command.'

def _cmd_report(self, params):

    all_edata = self._w3af.exception_handler.get_unique_exceptions()
    if (not all_edata):
        om.out.console('There    are    no    exceptions    to    report    for    this    scan.')
        return
    report_bug_eids = []
    for data in params:
        id_list = data.split(',')
        for eid in id_list:
            if (not eid.isdigit()):
                om.out.console('Exception    IDs    must    be    integers.')
            else:
                eid = int(eid)
                if (not (eid < len(all_edata))):
                    om.out.console('Exception    ID    out    of    range.')
                else:
                    report_bug_eids.append(eid)
    if (not report_bug_eids):
        report_bug_eids = range(len(all_edata))
    for (num, eid) in enumerate(report_bug_eids):
        edata = all_edata[eid]
        self._report_exception(edata, eid, (num + 1), len(report_bug_eids))
