Fixed for total packages

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-06-11 23:38:51 +03:00
parent 614e02fd91
commit 6e9f0d8773

View file

@ -154,6 +154,7 @@ class RepoInfo(Configs): # pylint: disable=[R0902]
args['status'] = 'Enabled'
args['color'] = self.green
args['count'] = len(self.repo_data)
self.total_packages += len(self.repo_data)
self.view_the_line_information(args)
self.view_summary_of_repository()
@ -178,6 +179,7 @@ class RepoInfo(Configs): # pylint: disable=[R0902]
args['status'] = 'Enabled'
args['color'] = self.green
args['count'] = len(self.repo_data[repo])
self.total_packages += len(self.repo_data[repo])
self.view_the_line_information(args)
self.view_summary_of_all_repositories()