← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1414875] [NEW] The api.authorization.MetadefTagProxy.__init__ method is redundant.

 

Public bug reported:

Currently, the MetadefTagProxy in api/authorization has an __init__ def
which simply calls glance.domain.proxy.MetadefTag.__init__. This is
redundant as this will automatically happen if __init__ is called
because MetadefTagProxy inheriits __init__ from MetadefTag.

The MetadefTagProxy.__init__ method can be replaced with pass.

** Affects: glance
     Importance: Undecided
     Assignee: Wayne (wayne-okuma)
         Status: In Progress

** Changed in: glance
     Assignee: (unassigned) => Wayne (wayne-okuma)

** Changed in: glance
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1414875

Title:
  The api.authorization.MetadefTagProxy.__init__ method is redundant.

Status in OpenStack Image Registry and Delivery Service (Glance):
  In Progress

Bug description:
  Currently, the MetadefTagProxy in api/authorization has an __init__
  def which simply calls glance.domain.proxy.MetadefTag.__init__. This
  is redundant as this will automatically happen if __init__ is called
  because MetadefTagProxy inheriits __init__ from MetadefTag.

  The MetadefTagProxy.__init__ method can be replaced with pass.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1414875/+subscriptions


Follow ups

References