Commit 84d9a567 authored by W. Trevor King's avatar W. Trevor King
Browse files

Use DebuggingStream for any LOG.level <= DEBUG (not just ==).

parent ffb4b3eb
...@@ -709,7 +709,7 @@ class DynamicStructure (Structure): ...@@ -709,7 +709,7 @@ class DynamicStructure (Structure):
if data is None: if data is None:
parents = [self] parents = [self]
data = d = {} data = d = {}
if _LOG.level == _logging.DEBUG: if _LOG.level <= _logging.DEBUG:
stream = DebuggingStream(stream) stream = DebuggingStream(stream)
else: else:
parents = parents + [self] parents = parents + [self]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment