]> git.decadent.org.uk Git - dak.git/blobdiff - dak/split_done.py
Fix typo
[dak.git] / dak / split_done.py
index 5502dcc52e521db67d077364841bdbce6603f44f..563a89812b8938463fc9c68a85dcee54a04c863e 100755 (executable)
@@ -1,6 +1,8 @@
 #!/usr/bin/env python
 
+""" Split queue/done into date based subdirectories """
 # Copyright (C) 2004, 2005, 2006  James Troup <james@nocrew.org>
+# Copyright (C) 2008  Joerg Jaspert <joerg@debian.org>
 
 # 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
 ################################################################################
 
 import glob, os, stat, time
-import daklib.utils as utils
+from daklib import utils
 
 ################################################################################
 
 def main():
     Cnf = utils.get_conf()
     count = 0
-    move_date = int(time.time())-(30*84600)
+    move_date = int(time.time())
     os.chdir(Cnf["Dir::Queue::Done"])
     files = glob.glob("%s/*" % (Cnf["Dir::Queue::Done"]))
     for filename in files: