X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fmirror_split.py;h=d4d96c26fe3b150908751b0251197017aa9b145b;hb=281403d6d387e3adad068ece921af17f507d0f0c;hp=89af72fdb2761e2cd66adf3bbcec180ce41644bd;hpb=7aaaad3135c9164390af5897925660842368660b;p=dak.git diff --git a/dak/mirror_split.py b/dak/mirror_split.py index 89af72fd..d4d96c26 100755 --- a/dak/mirror_split.py +++ b/dak/mirror_split.py @@ -30,7 +30,7 @@ from stat import S_ISDIR, S_ISLNK, S_ISREG import os import cPickle -import dak.lib.utils as utils +import daklib.utils ## Master path is the main repository #MASTER_PATH = "/org/ftp.debian.org/scratch/dsilvers/master" @@ -167,7 +167,7 @@ class MirrorSplitDB: elif S_ISREG(lnl[0]): bdir.files[ln] = lnl[1] else: - utils.fubar( "Confused by %s/%s -- not a dir, link or file" % + daklib.utils.fubar( "Confused by %s/%s -- not a dir, link or file" % ( path, ln ) ) for d in dirs: bdir.dirs[d] = self._internal_recurse( "%s/%s" % (path,d) ) @@ -351,7 +351,7 @@ Generate hardlink trees of certain architectures def main (): global Cnf - Cnf = utils.get_conf() + Cnf = daklib.utils.get_conf() Arguments = [('h',"help","Mirror-Split::Options::Help"), ('l',"list","Mirror-Split::Options::List"),