mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Remove unused
This commit is contained in:
parent
a1c822a467
commit
e73aa06585
1 changed files with 1 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue