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

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: 9b970f2e1948e53b6202c928fef94cdff15b43ac
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~cjwatson/launchpad:py2-update-sourcecode
Merge into: launchpad:master
Diff against target: 10 lines (+1/-1)
1 file modified
utilities/update-sourcecode (+1/-1)
Reviewer Review Type Date Requested Status
Ioana Lasc Approve
Review via email: mp+406584@code.launchpad.net

Commit message

Revert update-sourcecode to Python 2 for now

Description of the change

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.

To post a comment you must log in.
Revision history for this message
Ioana Lasc (ilasc) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/utilities/update-sourcecode b/utilities/update-sourcecode
2index 754718b..a10eb01 100755
3--- a/utilities/update-sourcecode
4+++ b/utilities/update-sourcecode
5@@ -1,4 +1,4 @@
6-#!/usr/bin/python3 -u
7+#!/usr/bin/python2 -u
8 #
9 # Copyright 2009 Canonical Ltd. This software is licensed under the
10 # GNU Affero General Public License version 3 (see the file LICENSE).

Subscribers

People subscribed via source and target branches

to status/vote changes: