Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jean-Paul Smets
slapos
Commits
53b848d9
Commit
53b848d9
authored
Nov 03, 2011
by
Antoine Catton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor: more meaningful error
parent
fa28762a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos/recipe/certificate_authority/__init__.py
slapos/recipe/certificate_authority/__init__.py
+1
-1
No files found.
slapos/recipe/certificate_authority/__init__.py
View file @
53b848d9
...
@@ -117,7 +117,7 @@ class Request(Recipe):
...
@@ -117,7 +117,7 @@ class Request(Recipe):
if
os
.
path
.
islink
(
link
):
if
os
.
path
.
islink
(
link
):
os
.
unlink
(
link
)
os
.
unlink
(
link
)
elif
os
.
path
.
exists
(
link
):
elif
os
.
path
.
exists
(
link
):
raise
OSError
(
"%r file should be a symbolic link."
)
raise
OSError
(
"%r file should be a symbolic link."
%
link
)
os
.
symlink
(
key
,
key_file
)
os
.
symlink
(
key
,
key_file
)
os
.
symlink
(
certificate
,
cert_file
)
os
.
symlink
(
certificate
,
cert_file
)
...
...
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