X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Finit_dirs.py;h=0e0d33a94ea85f8d3b573ada62a57145887c726a;hb=1eeb90f6bf381e10fcd8f0a04437883b443855d5;hp=fd1407143f0c1e759f75845f59a430b0b3ae7bc7;hpb=129ee05ec943535f154032b73cca5f96c161540f;p=dak.git diff --git a/dak/init_dirs.py b/dak/init_dirs.py index fd140714..0e0d33a9 100755 --- a/dak/init_dirs.py +++ b/dak/init_dirs.py @@ -103,7 +103,7 @@ def process_keyring(fullpath, secret=False): ###################################################################### def create_directories(): - """Create directories referenced in dak.conf and apt.conf.""" + """Create directories referenced in dak.conf.""" session = DBConn().session() @@ -137,7 +137,7 @@ def create_directories(): # Process dists directories # TODO: Store location of each suite in database for suite in session.query(Suite): - suite_dir = os.path.join( Cnf['Dir::Root'], 'dists', "%s/%s" % (suite.suite_name, suite_suffix) ) + suite_dir = os.path.join(suite.archive.path, 'dists', suite.suite_name, suite_suffix) # TODO: Store valid suite/component mappings in database for component in session.query(Component):