Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
settingsd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
settingsd
Commits
ac92eb4d
Commit
ac92eb4d
authored
Apr 12, 2019
by
Никита Ефремов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed IDE autogenerated text and unused degugger calls, restored removed exception handler
parent
9372ff07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
fmod_common_info.py
plugins/functions/fmod_common_info.py
+5
-5
No files found.
plugins/functions/fmod_common_info.py
View file @
ac92eb4d
...
...
@@ -38,8 +38,6 @@ class CommonInfo(service.FunctionObject) :
@service.functionMethod
(
LSB_RELASE_METHODS_NAMESPACE
,
out_signature
=
"s"
)
def
version
(
self
)
:
import
pdb
pdb
.
set_trace
return
self
.
lsbOption
(
LSB_OPTION_VERSION
)
@service.functionMethod
(
LSB_RELASE_METHODS_NAMESPACE
,
out_signature
=
"s"
)
...
...
@@ -96,9 +94,11 @@ class CommonInfo(service.FunctionObject) :
### Private ###
def
lsbOption
(
self
,
option
)
:
proc_args_list
=
[
config
.
value
(
SERVICE_NAME
,
"lsb_release_bin"
),
option
]
return
":"
.
join
(
tools
.
process
.
execProcess
(
proc_args_list
)[
0
]
.
split
(
":"
)[
1
:])
.
strip
()
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
)
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment