]> err.no Git - dak/commitdiff
make upload_too_new actually work
authorJames Troup <james@nocrew.org>
Tue, 16 Apr 2002 17:08:15 +0000 (17:08 +0000)
committerJames Troup <james@nocrew.org>
Tue, 16 Apr 2002 17:08:15 +0000 (17:08 +0000)
jennifer

index 5c9c1e214008642f10f0db5891248829c166dc82..1ea3db5fc23ea0462d9d9037e7a21594975fd300 100755 (executable)
--- a/jennifer
+++ b/jennifer
@@ -2,7 +2,7 @@
 
 # Checks Debian packages from Incoming
 # Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $Id: jennifer,v 1.11 2002-04-16 14:46:56 troup Exp $
+# $Id: jennifer,v 1.12 2002-04-16 17:08:15 troup Exp $
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -44,7 +44,7 @@ re_is_changes = re.compile (r"(.+?)_(.+?)_(.+?)\.changes$");
 ################################################################################
 
 # Globals
-jennifer_version = "$Revision: 1.11 $";
+jennifer_version = "$Revision: 1.12 $";
 
 Cnf = None;
 Options = None;
@@ -883,7 +883,7 @@ def upload_too_new():
     file_list.append(pkg.changes_file);
     for file in file_list:
         try:
-            last_modified = time.time()-os.path.getmtime(pkg.changes_file);
+            last_modified = time.time()-os.path.getmtime(file);
             if last_modified < int(Cnf["Dinstall::SkipTime"]):
                 return 1;
         except: