lib/canonical/launchpad/browser/launchpad.py has python2.6 only syntax

Bug #645857 reported by Robert Collins
6
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/launchpad/browser/launchpad.py'
--- lib/canonical/launchpad/browser/launchpad.py 2010-09-15 06:40:16 +0000
+++ lib/canonical/launchpad/browser/launchpad.py 2010-09-23 08:41:17 +0000
@@ -541,7 +541,7 @@
                     "The target %s does not have a linked branch." % path)

         except (CannotHaveLinkedBranch, InvalidNamespace,
- InvalidProductName, NotFoundError) as e:
+ InvalidProductName, NotFoundError), e:

Tags: lp-code qa-ok

Related branches

Aaron Bentley (abentley)
Changed in launchpad-code:
status: New → Triaged
Revision history for this message
Ian Booth (wallyworld) wrote :

There was also another one:

@@ -536,7 +536,7 @@
                 if trailing is not None:
                     target_url = urlappend(target_url, trailing)

- except (NoLinkedBranch) as e:
+ except (NoLinkedBranch), e:
                 # a valid ICanHasLinkedBranch target exists but there's no
                 # branch or it's not visible

Changed in launchpad-code:
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in launchpad-code:
milestone: none → 10.10
tags: added: qa-needstesting
Changed in launchpad-code:
status: In Progress → Fix Committed
Ian Booth (wallyworld)
tags: added: qa-ok
removed: qa-needstesting
Tim Penhey (thumper)
Changed in launchpad-code:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
removed: qa-ok
Tim Penhey (thumper)
tags: added: qa-ok
removed: qa-needstesting
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.