aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/ui/util/editor.py
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2011-08-04 17:50:32 +0200
committerW. Trevor King <wking@drexel.edu>2011-09-07 22:02:37 -0400
commita37004c5e4b80a775cbb43e2f25b3376ae1673c0 (patch)
treec8cbf80dbffc4700772c7001716b063bf533a378 /libbe/ui/util/editor.py
parent4889440b63b62e99366bb119fc63e2d960e51883 (diff)
downloadbugseverywhere-a37004c5e4b80a775cbb43e2f25b3376ae1673c0.tar.gz
Enhance Bzr.version_cmp to handle non-numeric versions
bzr uses non-numeric tags to indicate prereleases; previously, this triggers an exception in be's Bzr module as version comparison is only supported between version strings that only contain numbers and dots. This patch extends version_cmp to support a single non-numeric pre-release string of arbitrary length (e.g. 'a', 'b', 'pre', 'rc'), and extends the docstring tests to cover this extension. Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'libbe/ui/util/editor.py')
0 files changed, 0 insertions, 0 deletions