Removed instance check
This commit is contained in:
parent
c20a1fb1c4
commit
7b23ab91be
|
|
@ -1,4 +1,3 @@
|
|||
import sys
|
||||
import clog
|
||||
import soypak.deps.bottler as bottler
|
||||
|
||||
|
|
@ -8,10 +7,6 @@ _log = clog.Logger.get("runtime_logger")
|
|||
|
||||
def install_packages(tx, pkgs: list[bottler.PackageItem]):
|
||||
_log.debug(f"The transaction goal is {tx.pkg_goal=}. Attempting to perform installation.")
|
||||
if not isinstance(pkgs, bottler.PackageItem):
|
||||
_log.error(f"TypeError: {pkgs=}, expected list[PackageItem].")
|
||||
_log.printLog("There was an issue when operating on the transaction.", level=4)
|
||||
sys.exit(1)
|
||||
|
||||
# :@TODO: install the damned things!
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user