Little clarification

... because I always forget this myself...
This commit is contained in:
2017-06-15 14:52:43 +02:00
parent 8e02de32ab
commit 7ed053b6c1

View File

@@ -389,6 +389,8 @@ class PillarServer(Eve):
self.add_url_rule('%s/<path:filename>' % url_prefix, view_func=view_func)
def process_extensions(self):
"""This is about Eve extensions, not Pillar extensions."""
# Re-initialise Eve after we allowed Pillar submodules to be loaded.
# EVIL STARTS HERE. It just copies part of the Eve.__init__() method.
self.set_defaults()