Исправлено переключение профиля в GUI в битых сборках

master3.4 3.4.5
parent c3d11c73a8
commit 25881ab7a0

@ -965,7 +965,10 @@ class VariableClBuilderKernelConfig(KernelInfo):
def get(self):
prefix = self.Get('cl_builder_path')
if prefix:
try:
kernel_src = self.get_current_kernel_src(prefix)
except ValueError:
return ""
config_path = path.join(kernel_src, ".config")
return KernelConfig(path.join(prefix, config_path))
return ""
@ -982,7 +985,10 @@ class VariableClBuilderKernelVer(KernelInfo):
def get(self):
prefix = self.Get('cl_builder_path')
if prefix:
try:
current_src = self.get_current_kernel_src(prefix)
except ValueError:
return ""
src = path.join(prefix, current_src)
return self.get_src_kernel_version(src)

Loading…
Cancel
Save