Changeset 35f995c


Ignore:
Timestamp:
Mar 23, 2017, 4:55:13 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler
Children:
27fdf81
Parents:
38f3d04
Message:

this_version.py: always return a string, not unicode

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • this_version.py

    r38f3d04 r35f995c  
    7171    if add_status and vdict['AUBIO_VERSION_STATUS']:
    7272        verstr += vdict['AUBIO_VERSION_STATUS']
    73     return verstr
     73    return str(verstr)
    7474
    7575
  • wscript

    r38f3d04 r35f995c  
    426426        if 'MANDIR' not in bld.env:
    427427            bld.env['MANDIR'] = bld.env['DATAROOTDIR'] + '/man'
    428         bld.env.VERSION = str(VERSION)
     428        bld.env.VERSION = VERSION
    429429        rule_str = '${TXT2MAN} -t `basename ${TGT} | cut -f 1 -d . | tr a-z A-Z`'
    430430        rule_str += ' -r ${PACKAGE}\\ ${VERSION} -P ${PACKAGE}'
     
    457457    # note: build in ../doc/_build/html, otherwise waf wont install unsigned files
    458458    if bld.env['SPHINX']:
    459         bld.env.VERSION = str(VERSION)
     459        bld.env.VERSION = VERSION
    460460        bld( name = 'sphinx',
    461461                rule = '${SPHINX} -b html -D release=${VERSION} -D version=${VERSION} -a -q `dirname ${SRC}` `dirname ${TGT}`',
Note: See TracChangeset for help on using the changeset viewer.