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
545e1d09
Commit
545e1d09
authored
Apr 09, 2019
by
Никита Ефремов
Committed by
Никита Ефремов
Apr 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reverted deletion of important imports
parent
d6264495
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
13 deletions
+10
-13
service.py
build/lib/settingsd/service.py
+1
-0
__init__.py
build/lib/settingsd/validators/__init__.py
+1
-2
fmod_ssl.py
plugins/functions/fmod_ssl.py
+2
-4
service.py
settingsd/service.py
+1
-0
__init__.py
settingsd/validators/__init__.py
+1
-2
setup.py
setup.py
+4
-5
No files found.
build/lib/settingsd/service.py
View file @
545e1d09
...
...
@@ -9,6 +9,7 @@ import abc
from
.
import
config
from
.
import
tools
from
.service_decorators
import
*
##### Private classes #####
...
...
build/lib/settingsd/validators/__init__.py
View file @
545e1d09
...
...
@@ -3,5 +3,4 @@
__all__
=
[
"common"
,
"network"
,
"os"
]
from
.common
import
ValidatorError
plugins/functions/fmod_ssl.py
View file @
545e1d09
...
...
@@ -4,17 +4,15 @@ import socket
from
settingsd
import
const
from
settingsd
import
service
from
settingsd
import
config
from
settingsd
import
shared
from
settingsd.tools.process
import
execProcess
,
SubprocessFailure
from
os
import
path
from
configparser
import
ConfigParser
as
Cfp
SERVICE_NAME
=
"ssl"
SSL_METHODS_NAMESPACE
=
"ssl"
CERTS_DIR
=
config
.
value
(
SERVICE_NAME
,
"cert_dir"
)
cfg_parser
=
Cfp
()
cfg_parser
.
read
(
const
.
CONFIGS_DIR
+
"/ssl"
+
const
.
CONFIG_FILE_POSTFIX
)
CERTS_DIR
=
cfg_parser
.
get
(
"ssl"
,
"sert_dir"
)
CERT_NAME
=
'serv'
PEMFILE
=
path
.
join
(
CERTS_DIR
,
CERT_NAME
+
'.pem'
)
KEYFILE
=
path
.
join
(
CERTS_DIR
,
CERT_NAME
+
'.key'
)
...
...
settingsd/service.py
View file @
545e1d09
...
...
@@ -9,6 +9,7 @@ import abc
from
.
import
config
from
.
import
tools
from
.service_decorators
import
*
##### Private classes #####
...
...
settingsd/validators/__init__.py
View file @
545e1d09
...
...
@@ -3,5 +3,4 @@
__all__
=
[
"common"
,
"network"
,
"os"
]
from
.common
import
ValidatorError
setup.py
View file @
545e1d09
#!/usr/bin/env python
#!/usr/bi
mi
n/env python
# -*- coding: utf-8 -*-
...
...
@@ -15,7 +15,7 @@ from settingsd import const
##### Private constants #####
packages_list
=
[
"settingsd"
,
"settingsd/tools"
,
"settingsd/validators"
]
scripts_list
=
[
"settingsd-server.py"
]
install_requires
=
[
'file_read_backwards'
]
#####
data_files_list
=
[
...
...
@@ -108,10 +108,9 @@ setup(
packages
=
packages_list
,
scripts
=
scripts_list
,
data_files
=
data_files_list
,
install_requires
=
[
"gudev"
,
requires
=
[
"file_read_backwards"
]
]
,
cmdclass
=
{
"install"
:
SettingsdInstall
},
...
...
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