Merge lp:~maxb/bzr-bisect/invalid-version_info into lp:bzr-bisect

Proposed by Max Bowsher
Status: Merged
Merged at revision: 80
Proposed branch: lp:~maxb/bzr-bisect/invalid-version_info
Merge into: lp:bzr-bisect
Diff against target: 12 lines (+1/-1)
1 file modified
meta.py (+1/-1)
To merge this branch: bzr merge lp:~maxb/bzr-bisect/invalid-version_info
Reviewer Review Type Date Requested Status
Jelmer Vernooij (community) Approve
Review via email: mp+49193@code.launchpad.net

Description of the change

Fix invalid version_info tuple, that is causing tracebacks to be logged to .bzr.log by the plugin loader. The valid values for the 4th tuple element of a version_info are 'dev', 'alpha', 'beta', 'candidate', 'final' only.

To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

  review approve

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'meta.py'
2--- meta.py 2010-11-05 12:07:38 +0000
3+++ meta.py 2011-02-10 08:47:45 +0000
4@@ -18,7 +18,7 @@
5
6 bzr_plugin_name = 'bisect'
7
8-version_info = (1, 1, 0, 'pre', 0)
9+version_info = (1, 1, 0, 'dev', 0)
10 __version__ = '.'.join([str(x) for x in version_info[:3]])
11 if version_info[3] != 'final':
12 __version__ = "%s%s%d" % (__version__, version_info[3], version_info[4])

Subscribers

People subscribed via source and target branches

to all changes: