From a30c5f2a4e31e61d7537d44c7b5dbcd7531e3898 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Thu, 30 May 2013 14:28:57 +0200 Subject: [PATCH] daklib/checks.py: Add missing "self.". --- daklib/checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daklib/checks.py b/daklib/checks.py index 5b4cafe3..5202f1bf 100644 --- a/daklib/checks.py +++ b/daklib/checks.py @@ -336,9 +336,9 @@ class BinaryTimestampCheck(Check): self.past_files = dict() def callback(self, member, data): if member.mtime > future_cutoff: - future_files[member.name] = member.mtime + self.future_files[member.name] = member.mtime elif member.mtime < past_cutoff: - past_files[member.name] = member.mtime + self.past_files[member.name] = member.mtime def format_reason(filename, direction, files): reason = "{0}: has {1} file(s) with a timestamp too far in the {2}:\n".format(filename, len(files), direction) -- 2.39.2