[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] 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 5b4cafe..5202f1b 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)
-- 
1.7.10.4



Reply to: