diff --git a/rpmlint/lint.py b/rpmlint/lint.py index 36de2fa2c..7e60f776c 100644 --- a/rpmlint/lint.py +++ b/rpmlint/lint.py @@ -26,7 +26,7 @@ def __init__(self, options): self.options = options self.packages_checked = 0 self.specfiles_checked = 0 - self.check_duration = defaultdict(lambda: 0) + self.check_duration = defaultdict(int) if options['config']: self.config = Config(options['config']) else: