From: Ansgar Burchardt Date: Thu, 30 May 2013 12:28:57 +0000 (+0200) Subject: daklib/checks.py: Add missing "self.". X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a30c5f2a4e31e61d7537d44c7b5dbcd7531e3898;p=dak daklib/checks.py: Add missing "self.". --- 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)