mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-27 09:58:10 +01:00
Fixed print message
This commit is contained in:
parent
498b55d0e2
commit
04076328f2
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,6 @@ class ViewMessage:
|
|||
|
||||
def remove_packages(self, packages: list):
|
||||
""" View remove packages. """
|
||||
print('The following packages will be removed:\n')
|
||||
slackbuilds, dependencies, deps = [], [], []
|
||||
for pkg in packages:
|
||||
slackbuilds.append(pkg)
|
||||
|
@ -86,6 +85,8 @@ class ViewMessage:
|
|||
if deps and '--resolve-off' not in self.flags:
|
||||
dependencies = self.choose_dependencies_for_remove(dependencies)
|
||||
|
||||
print('The following packages will be removed:\n')
|
||||
|
||||
for pkg in slackbuilds:
|
||||
self._view_removed(pkg)
|
||||
|
||||
|
|
Loading…
Reference in a new issue