Variable `id` shadowing builtin

Bug #726864 reported by Rick Harris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Jay Pipes

Bug Description

We have local variables named `id` which are shadowing the builtin `id` function. We should rename to something like `image_id`.

Note, it's okay for instance variables and class-variables, and column names to remain as `id` since there isn't any ambiguity in those cases.

Changed in glance:
importance: Undecided → Low
Jay Pipes (jaypipes)
Changed in glance:
status: New → Triaged
Jay Pipes (jaypipes)
Changed in glance:
assignee: nobody → Jay Pipes (jaypipes)
milestone: none → cactus-2011-04-07
Jay Pipes (jaypipes)
Changed in glance:
milestone: cactus-2011-04-07 → none
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : A change has been merged to openstack/glance

Reviewed: https://review.openstack.org/367
Committed: http://github.com/openstack/glance/commit/3cd46135c9926684858b08f4583844b7dbab1ba7
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 3cd46135c9926684858b08f4583844b7dbab1ba7
Author: Justin Shepherd <email address hidden>
Date: Tue Aug 30 20:45:03 2011 -0500

    Bug fix lp:726864

    rename 'id' to 'image_id' to avoid conflict with builtin id function

    Change-Id: I79605275bf2607331f5b74076cb5689f071c92d5

Changed in glance:
status: Triaged → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → diablo-rbp
Thierry Carrez (ttx)
Changed in glance:
milestone: diablo-rbp → 2011.3
status: Fix Committed → Fix Released
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.