Code review comment for lp://staging/~gary/launchpad/py25-script

Revision history for this message
Barry Warsaw (barry) wrote :

Thanks for getting the ball rolling Gary!

Just a few questions and comments, but...

 review approve
 status approve

=== modified file 'cronscripts/allocate-revision-karma.py'
--- cronscripts/allocate-revision-karma.py 2009-06-24 20:52:01 +0000
+++ cronscripts/allocate-revision-karma.py 2009-10-12 16:15:32 +0000
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python2.4
> +#!/usr/bin/python2.5
> #
> # Copyright 2009 Canonical Ltd. This software is licensed under the
> # GNU Affero General Public License version 3 (see the file LICENSE).

Are there any plans to buildout-ify these scripts? It would be so much nicer
than hardcoding the shebang lines.

=== modified file 'scripts/branch-rewrite.py'
--- scripts/branch-rewrite.py 2009-07-24 07:08:33 +0000
+++ scripts/branch-rewrite.py 2009-10-12 16:15:32 +0000
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python2.4 -u
> +#!/usr/bin/python2.5 -u
> #
> # Copyright 2009 Canonical Ltd. This software is licensed under the
> # GNU Affero General Public License version 3 (see the file LICENSE).

How odd that this one is using -u. Is it significant and if so, why don't all
our scripts use -u?

=== modified file 'scripts/ftpmaster-tools/_syncorigins.py'
--- scripts/ftpmaster-tools/_syncorigins.py 2009-07-23 02:33:14 +0000
+++ scripts/ftpmaster-tools/_syncorigins.py 2009-10-12 16:15:32 +0000
> @@ -1,4 +1,4 @@
> -#!/usr/bin/env python2.4
> +#!/usr/bin/env python2.5
> #
> # Copyright 2009 Canonical Ltd. This software is licensed under the
> # GNU Affero General Public License version 3 (see the file LICENSE).

Yet another odd man out. Do things break horribly if we make this consistent
with the other scripts?

review: Approve

« Back to merge proposal