Merge "Missing super() in API collection controllers"
This commit is contained in:
commit
037f43cd04
|
@ -215,6 +215,7 @@ class AuditCollection(collection.Collection):
|
||||||
"""A list containing audits objects"""
|
"""A list containing audits objects"""
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
|
super(AuditCollection, self).__init__()
|
||||||
self._type = 'audits'
|
self._type = 'audits'
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
|
@ -164,6 +164,7 @@ class AuditTemplateCollection(collection.Collection):
|
||||||
"""A list containing audit templates objects"""
|
"""A list containing audit templates objects"""
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
|
super(AuditTemplateCollection, self).__init__()
|
||||||
self._type = 'audit_templates'
|
self._type = 'audit_templates'
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
|
@ -111,6 +111,7 @@ class GoalCollection(collection.Collection):
|
||||||
"""A list containing goals objects"""
|
"""A list containing goals objects"""
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
|
super(GoalCollection, self).__init__()
|
||||||
self._type = 'goals'
|
self._type = 'goals'
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in New Issue