From 78c65f77acc9049e9c0f3a403ae95ff13b5ada0f Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 27 Oct 2009 08:35:14 +0000 Subject: [PATCH] Avoid circular import when importing daklib.dbconn first. Signed-off-by: Chris Lamb --- daklib/dbconn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index cb578bd7..3aa7b8e2 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -48,7 +48,6 @@ from sqlalchemy.orm.exc import NoResultFound # Only import Config until Queue stuff is changed to store its config # in the database -import utils from config import Config from singleton import Singleton from textutils import fix_maintainer @@ -1427,6 +1426,7 @@ class Queue(object): # TODO: Move into database as above if conf.FindB("Dinstall::SecurityQueueBuild"): # Copy it since the original won't be readable by www-data + import utils utils.copy(src, dest) else: # Create a symlink to it -- 2.39.5