* dak/process_unchecked.py: likewise
* dak/rm.py: likewise
* dak/show_new.py: likewise
+ * dak/split_done.py: likewise
* dak/check_archive.py (check_files_not_symlinks): Remove
long-time unused and commented code. Import stuff from daklib as
################################################################################
import glob, os, stat, time
-import daklib.utils
+import daklib.utils as utils
################################################################################
def main():
- Cnf = daklib.utils.get_conf()
+ Cnf = utils.get_conf()
count = 0
move_date = int(time.time())-(30*84600)
os.chdir(Cnf["Dir::Queue::Done"])
os.makedirs(dirname)
dest = dirname + '/' + os.path.basename(filename)
if os.path.exists(dest):
- daklib.utils.fubar("%s already exists." % (dest))
+ utils.fubar("%s already exists." % (dest))
print "Move: %s -> %s" % (filename, dest)
os.rename(filename, dest)
count = count + 1