Updated class name

This commit is contained in:
Dimitris Zlatanidis 2022-05-24 16:45:57 +03:00
parent 3b9d5f1667
commit dad71c41ae
2 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ from slpkg.__metadata__ import MetaData as _meta_
from slpkg.pkg.manager import PackageManager
class Auto:
class AutoInstall:
"""Select Slackware command to install packages
"""
def __init__(self, packages):

View file

@ -29,7 +29,6 @@ from slpkg.clean import clean_tmp
from slpkg.load import Regex
from slpkg.desc import PkgDesc
from slpkg.messages import Msg
from slpkg.auto_pkg import Auto
from slpkg.config import Config
from slpkg.checks import Updates
from slpkg.repoinfo import RepoInfo
@ -37,6 +36,7 @@ from slpkg.repolist import RepoList
from slpkg.repositories import Repo
from slpkg.blacklist import BlackList
from slpkg.version import prog_version
from slpkg.auto_pkg import AutoInstall
from slpkg.health import PackageHealth
from slpkg.new_config import NewConfig
from slpkg.tracking import TrackingDeps
@ -777,7 +777,7 @@ class ArgParse(BlackList):
else:
not_found.append(pkg)
if packages:
Auto(packages).select()
AutoInstall(packages).select()
if not_found:
for ntf in not_found:
self.msg.pkg_not_found("", ntf, "Not installed", "")