From: James Troup Date: Sat, 20 May 2006 18:05:51 +0000 (-0500) Subject: Fix database calls. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bc8cd8151102e782fdd27e4f383575c6fed7298;p=dak Fix database calls. --- diff --git a/daklib/utils.py b/daklib/utils.py index 79e245f9..c4c13669 100644 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -677,7 +677,7 @@ def parse_args(Options): if Options["Suite"]: suite_ids_list = [] for suite in split_args(Options["Suite"]): - suite_id = dak.lib.database.get_suite_id(suite) + suite_id = database.get_suite_id(suite) if suite_id == -1: warn("suite '%s' not recognised." % (suite)) else: @@ -693,7 +693,7 @@ def parse_args(Options): if Options["Component"]: component_ids_list = [] for component in split_args(Options["Component"]): - component_id = dak.lib.database.get_component_id(component) + component_id = database.get_component_id(component) if component_id == -1: warn("component '%s' not recognised." % (component)) else: @@ -714,7 +714,7 @@ def parse_args(Options): if architecture == "source": check_source = 1 else: - architecture_id = dak.lib.database.get_architecture_id(architecture) + architecture_id = database.get_architecture_id(architecture) if architecture_id == -1: warn("architecture '%s' not recognised." % (architecture)) else: