]> git.decadent.org.uk Git - dak.git/commitdiff
daklib/checks.py: Add missing "self.".
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 30 May 2013 12:28:57 +0000 (14:28 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Thu, 30 May 2013 12:28:57 +0000 (14:28 +0200)
daklib/checks.py

index 5b4cafe35ccc93ef01159d4575136d8784b63f74..5202f1bf15093358e02ed5fc989b02b9889a91f5 100644 (file)
@@ -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)