Browse Source

Исправлено определение бинарных пакетов в выводе emerge

tags/3.2.4
Mike Khiretskiy 6 years ago
parent
commit
7841fcdbf2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pym/update/emerge_parser.py

+ 2
- 1
pym/update/emerge_parser.py View File

@@ -447,7 +447,8 @@ class InstallingPackage(NotifierInformationBlock):
"of {c}(\d+){c}\) {c}([^\s\033]+){c}".format(c=_color_block))

def notify(self, observer, groups):
binary = bool(self.binary and groups[2] in self.binary)
strpkg = str(EmergePackage(groups[2]))
binary = bool(self.binary and strpkg in self.binary)
observer(EmergePackage(groups[2]), binary=binary)

def mark_binary(self, package):


Loading…
Cancel
Save