diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2014-12-18 22:21:43 +0100 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2014-12-18 22:24:45 +0100 |
commit | 7bebb64fc4d58ee25c7f84d378aad4bd9065536c (patch) | |
tree | b1f5aafb908b95bbc08495498d4d4b22f62c3b77 /grc/base/Element.py | |
parent | 20c71cb44a6f7500e64a8e9e394e9e1b372aa46d (diff) |
grc: fix connections error log and color
Diffstat (limited to 'grc/base/Element.py')
-rw-r--r-- | grc/base/Element.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grc/base/Element.py b/grc/base/Element.py index 9c697b6393..04a3690282 100644 --- a/grc/base/Element.py +++ b/grc/base/Element.py @@ -21,6 +21,7 @@ class Element(object): def __init__(self, parent=None): self._parent = parent + self._error_messages = list() ################################################## # Element Validation API @@ -30,7 +31,7 @@ class Element(object): Validate this element and call validate on all children. Call this base method before adding error messages in the subclass. """ - self._error_messages = list() + del self._error_messages[:] for child in self.get_children(): child.validate() def is_valid(self): |