Remove unused

This commit is contained in:
Dimitris Zlatanidis 2023-04-25 14:37:27 +03:00
parent a1c822a467
commit e73aa06585

View file

@ -39,7 +39,6 @@ class Packages(Configs):
self.view_message = ViewMessage(self.flags, self.data)
self.session = Session
self.output: int = 0
self.stderr = None
self.stdout = None
self.process_message: str = ''
@ -199,7 +198,7 @@ class Packages(Configs):
# Starting multiprocessing
p1 = Process(target=self.utils.process, args=(command, self.stderr, self.stdout))
p2 = Process(target=self.progress.bar, args=(f'[{message}]', filename))
p2 = Process(target=self.progress.bar, args=(f'{message}:', filename))
p1.start()
p2.start()
@ -212,7 +211,6 @@ class Packages(Configs):
if p1.exitcode != 0:
done: str = f'{self.bred}Failed: {self.endc}{self.process_message}.'
self.output: int = p1.exitcode # type: ignore
print(f'{self.endc}{done}', end='')
p2.terminate()