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 (community) 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
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 @@
1#!/usr/bin/python3 -u1#!/usr/bin/python2 -u
2#2#
3# Copyright 2009 Canonical Ltd. This software is licensed under the3# Copyright 2009 Canonical Ltd. This software is licensed under the
4# GNU Affero General Public License version 3 (see the file LICENSE).4# GNU Affero General Public License version 3 (see the file LICENSE).

Subscribers

People subscribed via source and target branches

to status/vote changes: