mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Updated for type hinting
This commit is contained in:
parent
d9a26485d4
commit
ca47e89c93
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue