Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
import gzip
import logging
import os
+import pakfire
import queue
import sqlalchemy
try:
# Check if the source package exists
if not self.pkg.path:
- raise DependencyError("Source package does not exist")
+ raise pakfire.DependencyError("Source package does not exist")
# Open the archive
archive = await asyncio.to_thread(p.open, self.pkg.path)
await asyncio.to_thread(package.installcheck)
# Store any dependency errors
- except DependencyError as e:
+ except pakfire.DependencyError as e:
self.installcheck_succeeded = False
# Store the message