Exceptions don't work in Python 3

Bug #1016711 reported by Brian Curtin on 2012-06-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Status tracked in Trunk
Brian Curtin
ubuntu-sso-client (Ubuntu)

Bug Description

In order to support Python 3, we need to move to the "except Exception as e" syntax, introduced in Python 3 and backported to Python 2.6.

Related branches

Changed in ubuntu-sso-client:
assignee: nobody → Brian Curtin (brian.curtin)
affects: ubuntu → ubuntu-sso-client (Ubuntu)
dobey (dobey) on 2012-06-22
summary: - Convert exception syntax to Python 3 equivalent
+ Exceptions don't work in Python 3
dobey (dobey) on 2012-06-27
Changed in ubuntu-sso-client (Ubuntu Quantal):
status: New → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-sso-client - 3.99.1-0ubuntu1

ubuntu-sso-client (3.99.1-0ubuntu1) quantal-proposed; urgency=low

  * New upstream release.
    - Handle type annotation when printed from gsettings. (LP: #1007109)
    - Remove back buttons in sign in/up pages. (LP: #1009107)
    - Disable tests broken by GTK+ 3.5 behavior change. (LP: #1014772)
    - Remove code duplication with dirspec. (LP: #1016151)
    - Stop using deprecated dict iteritems/itervalues calls. (LP: #1016707)
    - Stop using deprecated exception handling method. (LP: #1016711)
  * debian/control:
    - Update dependencies.
  * debian/*.install:
    - Remove modules that duplicated code with dirspec.
  * debian/patches:
    - Remove upstreamed patches.
 -- Rodney Dawes <email address hidden> Wed, 27 Jun 2012 15:10:41 -0400

Changed in ubuntu-sso-client (Ubuntu Quantal):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers