diff --git a/pungi/compose.py b/pungi/compose.py index ade5df24..84f22124 100644 --- a/pungi/compose.py +++ b/pungi/compose.py @@ -137,7 +137,8 @@ class Compose(kobo.log.LoggingBase): class ExcludingArchLogFilter(logging.Filter): def filter(self, record): - if 'Populating package set for arch:' in record.message or \ + message = record.getMessage() + if 'Populating package set for arch:' in message or \ (record.funcName and record.funcName == 'is_excluded'): return True else: