X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Finit_dirs.py;h=0c63fe3ec003401bccc7796da4e00bb6aec54fea;hb=772655d608069f12e400e0d6c7b7fac76eb98083;hp=fd1407143f0c1e759f75845f59a430b0b3ae7bc7;hpb=129ee05ec943535f154032b73cca5f96c161540f;p=dak.git diff --git a/dak/init_dirs.py b/dak/init_dirs.py index fd140714..0c63fe3e 100755 --- a/dak/init_dirs.py +++ b/dak/init_dirs.py @@ -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):