]> git.decadent.org.uk Git - dak.git/commitdiff
Import ensure_orig_files properly.
authorChris Lamb <lamby@debian.org>
Wed, 28 Oct 2009 19:59:59 +0000 (19:59 +0000)
committerChris Lamb <lamby@debian.org>
Wed, 28 Oct 2009 19:59:59 +0000 (19:59 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/dbconn.py

index 9421b28f2a8d2de8f660c93865358172439477c8..eaba0be6a1446c7021eb7c4b0a2af0eb650118fb 100755 (executable)
@@ -51,6 +51,7 @@ from sqlalchemy.orm.exc import NoResultFound
 from config import Config
 from singleton import Singleton
 from textutils import fix_maintainer
+from daklib.utils import ensure_orig_files
 
 ################################################################################
 
@@ -1414,7 +1415,7 @@ class Queue(object):
 
                 session.add(qb)
 
-            exists, symlinked = utils.ensure_orig_files(changes, dest, session)
+            exists, symlinked = ensure_orig_files(changes, dest, session)
 
             # Add symlinked files to the list of packages for later processing
             # by apt-ftparchive