Trivial issue in the bzr script
Matt Nordhoff
mnordhoff at mattnordhoff.com
Sat Jul 4 16:38:27 BST 2009
Russel Winder wrote:
> It appears that Python 2.6 is not an anticipated possibility for part of
> the bzr script, should it be added?
>
> === modified file 'bzr'
> --- bzr 2009-06-26 09:24:34 +0000
> +++ bzr 2009-07-04 13:07:24 +0000
> @@ -35,7 +35,7 @@
>
> REINVOKE = "__BZR_REINVOKE"
> NEED_VERS = (2, 4)
> -KNOWN_PYTHONS = ('python2.4', 'python2.5')
> +KNOWN_PYTHONS = ('python2.4', 'python2.5', 'python2.6')
>
> if version_info < NEED_VERS:
> if not os.environ.has_key(REINVOKE):
FWIW, this isn't very high priority, because that code only gets engaged
if bzr is run by a Python version older than 2.4. Not many users with a
setup like that will have Python 2.6 installed.
Hmm, I mentioned this once a few months ago. Guess I should've filed a
bug or sent a patch. :-\
You should send a merge request with that patch. :-)
--
More information about the bazaar
mailing list