提交 78c65f77 编写于 作者: C Chris Lamb

Avoid circular import when importing daklib.dbconn first.

Signed-off-by: NChris Lamb <lamby@debian.org>
上级 4a867e40
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册