Merge pull request #46813 from terminalmage/event-debug-log

Get rid of confusing debug logging
This commit is contained in:
Nicole Thomas 2018-04-02 14:19:27 -04:00 committed by GitHub
commit 5ea4ffbdb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2030,8 +2030,9 @@ def event(tagmatch='*',
indent=None if not pretty else 4)))
sys.stdout.flush()
count -= 1
log.debug('Remaining event matches: %s', count)
if count > 0:
count -= 1
log.debug('Remaining event matches: %s', count)
if count == 0:
break