X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fsplit_done.py;h=98ad9b5fb3ef3050c81411df01851c42d2b4a084;hb=4a95afb08a40a984824f72777ec5c4f8ed8382cd;hp=5f8faddaf8e4041e05fffdc1b0ef7915ed91547b;hpb=16f731a893f0ba036a995c25b8b5f3490394070e;p=dak.git diff --git a/dak/split_done.py b/dak/split_done.py index 5f8fadda..98ad9b5f 100755 --- a/dak/split_done.py +++ b/dak/split_done.py @@ -1,6 +1,8 @@ #!/usr/bin/env python +""" Split queue/done into date based subdirectories """ # Copyright (C) 2004, 2005, 2006 James Troup +# Copyright (C) 2008 Joerg Jaspert # 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 @@ -26,7 +28,7 @@ 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: