Changeset c6c20be


Ignore:
Timestamp:
Mar 23, 2017, 3:44:49 PM (7 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:
69de807
Parents:
07bfe2d2
git-author:
Martin Hermant <martin.hermant@gmail.com> (03/16/17 18:47:26)
git-committer:
Paul Brossier <piem@piem.org> (03/23/17 15:44:49)
Message:

this_version.py : * fix : get_aubio_version : remove ‘.’ before ~git * fix typo : check ~alpha in version status

File:
1 edited

Legend:

Unmodified
Added
Removed
  • this_version.py

    r07bfe2d2 rc6c20be  
    6767
    6868def get_aubio_version(add_status=True):
    69     # return string formatted as MAJ.MIN.PATCH.{~git<sha> , ''}
     69    # return string formatted as MAJ.MIN.PATCH{~git<sha> , ''}
    7070    vdict = get_version_info()
    7171    verstr = '%s.%s.%s' % get_aubio_version_tuple()
    7272    if add_status and vdict['AUBIO_VERSION_STATUS']:
    73         verstr += "." + vdict['AUBIO_VERSION_STATUS']
     73        verstr += vdict['AUBIO_VERSION_STATUS']
    7474    return verstr
    7575
     
    8484        if '~git' in vdict['AUBIO_VERSION_STATUS']:
    8585            verstr += "+a0." + vdict['AUBIO_VERSION_STATUS'][1:]
    86         elif '~alpha':
     86        elif '~alpha' in vdict['AUBIO_VERSION_STATUS']:
    8787            verstr += "+a0"
    8888        else:
Note: See TracChangeset for help on using the changeset viewer.