You need to sign in or sign up before continuing.
Commit 6ec2cba8 authored by Никита Ефремов's avatar Никита Ефремов Committed by Nick Yefremov

Removed IDE autogenerated text and unused degugger calls, restored removed exception handler

parent 6569950a
......@@ -94,9 +94,11 @@ class CommonInfo(service.FunctionObject) :
### Private ###
def lsbOption(self, option) :
try:
proc_args_list = [config.value(SERVICE_NAME, "lsb_release_bin"), option]
return ":".join(tools.process.execProcess(proc_args_list)[0].split(":")[1:]).strip()
except Exception as e:
logger.exception(e)
def unameOption(self, option) :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment