lib/canonical/launchpad/browser/launchpad.py has python2.6 only syntax
Bug #645857 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Ian Booth |
Bug Description
It needs this patch landed, or the next release will be accompanied by the surprise unhappiness on the release-managers part.
=== modified file 'lib/canonical/
--- lib/canonical/
+++ lib/canonical/
@@ -541,7 +541,7 @@
except (CannotHaveLink
- InvalidProductName, NotFoundError) as e:
+ InvalidProductName, NotFoundError), e:
Related branches
lp://staging/~wallyworld/launchpad/recursive-branch-resolution-failure
- Michael Hudson-Doyle: Approve
-
Diff: 168 lines (+68/-15)2 files modifiedlib/canonical/launchpad/browser/launchpad.py (+21/-7)
lib/canonical/launchpad/browser/tests/test_launchpad.py (+47/-8)
Changed in launchpad-code: | |
status: | New → Triaged |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
tags: |
added: qa-ok removed: qa-needstesting |
To post a comment you must log in.
There was also another one:
@@ -536,7 +536,7 @@
target_ url = urlappend( target_ url, trailing)
if trailing is not None:
- except (NoLinkedBranch) as e:
+ except (NoLinkedBranch), e:
# a valid ICanHasLinkedBranch target exists but there's no
# branch or it's not visible