policies: fix missing default for log_messages

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-04-02 16:44:49 +02:00
parent be91d893fb
commit 5fe8c1f3d7

View file

@ -75,6 +75,7 @@ class PolicyResult:
self.messages = messages self.messages = messages
self.source_binding = None self.source_binding = None
self.source_results = [] self.source_results = []
self.log_messages = []
def __repr__(self): def __repr__(self):
return self.__str__() return self.__str__()