Browse Source

Исправлена ошибка кодировок

https://www.calculate-linux.org/issues/1113
tags/3.6.3.3
parent
commit
661e8c868e
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      pym/update/update.py

+ 3
- 3
pym/update/update.py View File

@@ -50,7 +50,7 @@ from calculate.lib.utils.portage import (Layman, EmergeLog,
get_packages_files_directory,
get_manifest_files_directory,
get_remove_list)
from calculate.lib.utils.text import _u8
from calculate.lib.utils.text import _u8, _u

Colors = TextState.Colors
from calculate.lib.utils.files import (getProgPath, STDOUT, removeDir,
@@ -630,9 +630,9 @@ class Update(MethodsInterface):
name = str(pkg)

self.printSUCCESS(
_("{part} {package}").format(part=part, package=name))
_u(_("{part} {package}")).format(part=_u(part), package=_u(name)))
self.startTask(
_("Emerging {package}").format(package=_colorprint(str(pkg))))
_u(_("Emerging {package}")).format(package=_u(_colorprint(str(pkg)))))

def _printInstallPackage(self, pkg, binary=False):
"""


Loading…
Cancel
Save