Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos.toolbox
Commits
53f39b84
Commit
53f39b84
authored
Oct 11, 2012
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos
parent
63f0bf8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
slapos/builder/__init__.py
slapos/builder/__init__.py
+1
-1
slapos/pubsub/notifier.py
slapos/pubsub/notifier.py
+2
-2
No files found.
slapos/builder/__init__.py
View file @
53f39b84
...
...
@@ -191,7 +191,7 @@ def run(config):
cert_file
]))
for
(
src
,
dst
)
in
[(
config
.
key_file
,
key_file_dest
),
(
config
.
cert_file
,
cert_file_dest
)]:
print
"Coping %r to %r, and setting minim
um
privileges"
%
(
src
,
dst
)
print
"Coping %r to %r, and setting minim
al
privileges"
%
(
src
,
dst
)
if
not
dry_run
:
shutil
.
copy
(
src
,
dst
)
os
.
chmod
(
dst
,
0600
)
...
...
slapos/pubsub/notifier.py
View file @
53f39b84
...
...
@@ -74,8 +74,8 @@ def main():
response
=
notification
.
getresponse
()
if
not
(
200
<=
response
.
status
<
300
):
print
>>
sys
.
stderr
,
"The remote server didn't send a successful
l
reponse."
print
>>
sys
.
stderr
,
"It
'
s response was %r"
%
response
.
reason
print
>>
sys
.
stderr
,
"The remote server didn't send a successful reponse."
print
>>
sys
.
stderr
,
"Its response was %r"
%
response
.
reason
return
1
return
0
...
...
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