Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > d56cd0d415e08a23c2635a531415519d > files > 2

abrt-addon-python-2.1.9-1.fc18.x86_64.rpm

EVENT=post-create analyzer=Python
        # (For now this has no effect since python hook doesn't save environ)
        if grep -q ^ABRT_IGNORE_ALL=1 environ \
        || grep -q ^ABRT_IGNORE_PYTHON=1 environ \
        ; then
            echo "ABRT_IGNORE variable is 1 - not saving the crash"
            # abrtd will delete the problem directory when we exit nonzero:
            exit 1
        fi
        abrt-action-analyze-python

EVENT=report_Bugzilla analyzer=Python component!=anaconda
        test -f component || abrt-action-save-package-data
        reporter-bugzilla -b \
                -c /etc/libreport/plugins/bugzilla.conf
        # TODO? -F /etc/libreport/plugins/bugzilla_format_python.conf

# Send micro report
EVENT=report_uReport analyzer=Python
        /usr/libexec/abrt-action-ureport

# update ABRT database after successful report to bugzilla
EVENT=post_report analyzer=Python
        reporter-ureport -r

# Reporting of python exceptions
EVENT=report-gui analyzer=Python component!=anaconda
        report-gtk -- "$DUMP_DIR"

EVENT=report-cli analyzer=Python component!=anaconda
        report-cli -e report_uReport -e report_Bugzilla -e post_report -- "$DUMP_DIR"