mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Make sure salt.utils.jinja.SerializerExtension
calls it's parent class __init__
method.
This commit is contained in:
parent
f4b015b88e
commit
7d90720688
@ -126,7 +126,7 @@ class SerializerExtension(Extension):
|
||||
'''
|
||||
|
||||
def __init__(self, environment):
|
||||
self.environment = environment
|
||||
super(SerializerExtension, self).__init__(environment)
|
||||
environment.filters.update({
|
||||
'yaml': partial(self.format, formatter='yaml'),
|
||||
'json': partial(self.format, formatter='json')
|
||||
|
Loading…
Reference in New Issue
Block a user