Standardize exception syntax

Bug #1160331 reported by Stuart McLaren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
Stuart McLaren

Bug Description

Some files have a mix of except X, y: and except X as y: syntax. Update to just use the newer 'except ... as' form.

Changed in glance:
assignee: nobody → Stuart McLaren (stuart-mclaren)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/25377

Changed in glance:
status: New → In Progress
Changed in glance:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/25377
Committed: http://github.com/openstack/glance/commit/19b82a022cc58e702fe9061c3347cec471dc4da2
Submitter: Jenkins
Branch: master

commit 19b82a022cc58e702fe9061c3347cec471dc4da2
Author: Stuart McLaren <email address hidden>
Date: Tue Mar 26 12:14:55 2013 +0000

    Standardize on newer except syntax

    We currently have a mix of 'except X, y:' and 'except X as y:' syntax.
    Standardize on the newer 'except as' form.

    This patch was generated automatically using:

    find * -type f -name 'glance-*' ! -name '*\.conf' ! -name '*\.ini' -o \
     -name '*\.py' | xargs 2to3 -f except | patch -p0

    Addresses bug 1160331.

    Change-Id: Ica8d1303973af64d0406457267ee75f608e869d0

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: havana-1 → 2013.2
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.