def prereleaser_before(self, data):

        global log
        log = logging.getLogger('prerelease')

        if not check_long_description():
            log.error('Errors rendering the long description rst. Run '
                      'CHANGES.txt and README.txt through rst2html.py to '
                      'find the errors and correct them.')
            sys.exit(1)
Check the long-description.
dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/_release.py/ReleaseManager.prereleaser_before