# Clean incoming of old unused files
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: shania,v 1.10 2001-11-19 20:42:40 rmurray Exp $
+# $Id: shania,v 1.12 2002-02-12 22:14:38 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
################################################################################
-import os, re, stat, string, sys, time, traceback
-import utils
+import os, stat, sys, time;
+import utils;
import apt_pkg;
################################################################################
Cnf = None;
Options = None;
del_dir = None;
+delete_date = None;
################################################################################
Cnf["Shania::Options::Days"] = "14";
Arguments = [('h',"help","Shania::Options::Help"),
- ('d',"days","Shania::Options::Days", "IntVal"),
+ ('d',"days","Shania::Options::Days", "IntLevel"),
('i',"incoming","Shania::Options::Incoming", "HasArg"),
('n',"no-action","Shania::Options::No-Action"),
('v',"verbose","Shania::Options::Verbose")];