mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 03:34:15 +02:00
[arch] fix: silent crash when handling and displaying transaction sub-status
This commit is contained in:
@@ -7,6 +7,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
## [0.9.27]
|
## [0.9.27]
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
- Arch
|
||||||
|
- silent crash when handling and displaying transaction sub-status
|
||||||
|
|
||||||
- AppImage
|
- AppImage
|
||||||
- search: displaying duplicate installed apps for some cases
|
- search: displaying duplicate installed apps for some cases
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class TransactionStatusHandler(Thread):
|
|||||||
else:
|
else:
|
||||||
self.watcher.change_substatus('{} {}'.format(self.i18n['uninstalling'].capitalize(), output_split[1].strip()))
|
self.watcher.change_substatus('{} {}'.format(self.i18n['uninstalling'].capitalize(), output_split[1].strip()))
|
||||||
|
|
||||||
elif output_split[1].lower().startswith('downloading') and (not self.names or (n for n in self.names if output_split[0].startswith(n))):
|
elif len(output_split) >= 2 and output_split[1].lower().startswith('downloading') and (not self.names or (n for n in self.names if output_split[0].startswith(n))):
|
||||||
if self.downloading < self.pkgs_to_sync:
|
if self.downloading < self.pkgs_to_sync:
|
||||||
perc = self.gen_percentage()
|
perc = self.gen_percentage()
|
||||||
self.downloading += 1
|
self.downloading += 1
|
||||||
|
|||||||
Reference in New Issue
Block a user