X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fgenerate_packages_sources2.py;h=3b58217a271df20671af2d9cf949cacbb097e64b;hb=9fe8c4f2dc5aee8179ec28c422e42aa279d8d22e;hp=d941d98487d782996b4fafcf2006b2aeb32890c9;hpb=8edf5e1387ee12c35076a8c60f61e71cd6cb8e23;p=dak.git diff --git a/dak/generate_packages_sources2.py b/dak/generate_packages_sources2.py index d941d984..3b58217a 100755 --- a/dak/generate_packages_sources2.py +++ b/dak/generate_packages_sources2.py @@ -364,7 +364,6 @@ def main(): force = Options.has_key("Force") and Options["Force"] - component_ids = [ c.component_id for c in session.query(Component).all() ] def parse_results(message): # Split out into (code, msg) @@ -377,9 +376,10 @@ def main(): logger.log(['E: ', msg]) for s in suites: + component_ids = [ c.component_id for c in s.components ] if s.untouchable and not force: - import utils - utils.fubar("Refusing to touch %s (untouchable and not forced)" % s.suite_name) + import daklib.utils + daklib.utils.fubar("Refusing to touch %s (untouchable and not forced)" % s.suite_name) for c in component_ids: pool.apply_async(generate_sources, [s.suite_id, c], callback=parse_results) if not s.include_long_description: