diff --git a/slpkg/slackbuild.py b/slpkg/slackbuild.py index 3116b6d6..a640df57 100644 --- a/slpkg/slackbuild.py +++ b/slpkg/slackbuild.py @@ -198,7 +198,7 @@ class Slackbuilds(Configs): exist = self.session.query(LogsDependencies.name).filter( LogsDependencies.name == name).first() - requires = Requires(name).resolve() + requires: list = Requires(name).resolve() # Update the dependencies if exist else create it. if exist: @@ -208,7 +208,7 @@ class Slackbuilds(Configs): {LogsDependencies.requires: ' '.join(requires)}) elif requires: - deps = LogsDependencies(name=name, requires=' '.join(requires)) + deps: list = LogsDependencies(name=name, requires=' '.join(requires)) self.session.add(deps) self.session.commit()