← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/launchpad:py2-update-sourcecode into launchpad:master

 

Colin Watson has proposed merging ~cjwatson/launchpad:py2-update-sourcecode into launchpad:master.

Commit message:
Revert update-sourcecode to Python 2 for now

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/406584

It needs to be able to run outside Launchpad's virtualenv and import breezy or bzrlib, and on xenial (e.g. in a buildbot test run) only bzrlib for Python 2 is available.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:py2-update-sourcecode into launchpad:master.
diff --git a/utilities/update-sourcecode b/utilities/update-sourcecode
index 754718b..a10eb01 100755
--- a/utilities/update-sourcecode
+++ b/utilities/update-sourcecode
@@ -1,4 +1,4 @@
-#!/usr/bin/python3 -u
+#!/usr/bin/python2 -u
 #
 # Copyright 2009 Canonical Ltd.  This software is licensed under the
 # GNU Affero General Public License version 3 (see the file LICENSE).