Signed-off-by: Chris Lamb <lamby@debian.org>
# Only import Config until Queue stuff is changed to store its config
# in the database
# Only import Config until Queue stuff is changed to store its config
# in the database
from config import Config
from singleton import Singleton
from textutils import fix_maintainer
from config import Config
from singleton import Singleton
from textutils import fix_maintainer
# TODO: Move into database as above
if conf.FindB("Dinstall::SecurityQueueBuild"):
# Copy it since the original won't be readable by www-data
# TODO: Move into database as above
if conf.FindB("Dinstall::SecurityQueueBuild"):
# Copy it since the original won't be readable by www-data
utils.copy(src, dest)
else:
# Create a symlink to it
utils.copy(src, dest)
else:
# Create a symlink to it