Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sbws
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
juga
sbws
Commits
53403d98
Commit
53403d98
authored
6 years ago
by
juga
Browse files
Options
Downloads
Patches
Plain Diff
Give more information about where is the server password expected
parent
5f88bfde
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sbws/commands/server.py
+5
-1
5 additions, 1 deletion
sbws/commands/server.py
with
5 additions
and
1 deletion
sbws/commands/server.py
+
5
−
1
View file @
53403d98
...
...
@@ -129,7 +129,11 @@ def main(args, conf, log_):
fail_hard
(
'
Sbws isn
\'
t initialized. Try sbws init
'
,
log
=
log
)
if
len
(
conf
[
'
server.passwords
'
])
<
1
:
fail_hard
(
'
Sbws server needs at least one password
'
,
log
=
log
)
fail_hard
(
'
Sbws server needs at least one passwordin the section
'
\
'
[server.passwords] in the config file in
'
,
conf
.
get
(
'
sbws_home
'
),
'
.See doc/XX for more information on the configuration.
'
,
log
=
log
)
server
=
socket
.
socket
(
socket
.
AF_INET
,
socket
.
SOCK_STREAM
)
h
=
(
conf
[
'
server
'
][
'
bind_ip
'
],
conf
.
getint
(
'
server
'
,
'
bind_port
'
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment