|
|
|
@ -17,6 +17,7 @@
|
|
|
|
|
import sys
|
|
|
|
|
from calculate.core.server.func import Action, Tasks
|
|
|
|
|
from calculate.lib.cl_lang import setLocalTranslate, getLazyLocalTranslate
|
|
|
|
|
from calculate.lib.cl_template import TemplatesError
|
|
|
|
|
from calculate.lib.utils.files import FilesError
|
|
|
|
|
from ..datavars import BuilderError
|
|
|
|
|
from calculate.lib.utils.portage import GitError
|
|
|
|
@ -31,7 +32,9 @@ class ClBuilderPrepareAction(Action):
|
|
|
|
|
Действие обновление конфигурационных файлов
|
|
|
|
|
"""
|
|
|
|
|
# ошибки, которые отображаются без подробностей
|
|
|
|
|
native_error = (DistributiveError, FilesError, BuilderError, GitError)
|
|
|
|
|
native_error = (DistributiveError, FilesError,
|
|
|
|
|
TemplatesError,
|
|
|
|
|
BuilderError, GitError)
|
|
|
|
|
|
|
|
|
|
successMessage = __("Build prepared successfully")
|
|
|
|
|
failedMessage = __("Preparing the build is failed")
|
|
|
|
|