Redundant __init__ def in api.authorization.MetadefTagProxy
The MetadefTagProxy.__init__ def simply calls glance.domain.proxy.MetadefTag __init__. This makes it a redundant call since MetadefTagProxy inherits the MetadefTag.__init__ def. This fix replaces MetadefTagProxy.__init__ with a simple pass. Change-Id: I7280c979115c7c5ae6bbf63e2ccdd96b88716cd2 Closes-bug: 1414875
This commit is contained in:
parent
be8b33f96c
commit
d4a1359e14
|
@ -857,9 +857,7 @@ class ImmutableMetadefTagProxy(object):
|
|||
|
||||
|
||||
class MetadefTagProxy(glance.domain.proxy.MetadefTag):
|
||||
|
||||
def __init__(self, meta_tag):
|
||||
super(MetadefTagProxy, self).__init__(meta_tag)
|
||||
pass
|
||||
|
||||
|
||||
class MetadefTagFactoryProxy(glance.domain.proxy.MetadefTagFactory):
|
||||
|
|
Loading…
Reference in New Issue