Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Gabriel Monnerat
slapos.core
Commits
abd24ab5
Commit
abd24ab5
authored
Jul 22, 2011
by
Lucas Carvalho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "New option on slapos configuration file: upload-authentication-file."
This reverts commit
25c34da5
.
parent
4ccb205e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
slapos/grid/slapgrid.py
slapos/grid/slapgrid.py
+1
-8
No files found.
slapos/grid/slapgrid.py
View file @
abd24ab5
...
@@ -172,8 +172,6 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
...
@@ -172,8 +172,6 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
# the configuration file.
# the configuration file.
signature_private_key_file
=
option_dict
.
get
(
'signature_private_key_file'
)
\
signature_private_key_file
=
option_dict
.
get
(
'signature_private_key_file'
)
\
or
option_dict
.
get
(
'signature-private-key-file'
)
or
option_dict
.
get
(
'signature-private-key-file'
)
upload_authentication_file
=
option_dict
.
get
(
\
'upload-authentication-file'
,
None
)
for
f
in
[
key_file
,
cert_file
,
master_ca_file
,
signature_private_key_file
]:
for
f
in
[
key_file
,
cert_file
,
master_ca_file
,
signature_private_key_file
]:
if
f
not
in
(
''
,
None
,):
if
f
not
in
(
''
,
None
,):
...
@@ -210,7 +208,6 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
...
@@ -210,7 +208,6 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
signature_private_key_file
=
signature_private_key_file
,
signature_private_key_file
=
signature_private_key_file
,
upload_cache_url
=
option_dict
.
get
(
'upload-cache-url'
,
None
),
upload_cache_url
=
option_dict
.
get
(
'upload-cache-url'
,
None
),
upload_dir_url
=
option_dict
.
get
(
'upload-dir-url'
,
None
),
upload_dir_url
=
option_dict
.
get
(
'upload-dir-url'
,
None
),
upload_authentication_file
=
upload_authentication_file
,
console
=
option_dict
[
'console'
],
console
=
option_dict
[
'console'
],
buildout
=
option_dict
.
get
(
'buildout'
)),
buildout
=
option_dict
.
get
(
'buildout'
)),
option_dict
])
option_dict
])
...
@@ -282,7 +279,6 @@ class Slapgrid(object):
...
@@ -282,7 +279,6 @@ class Slapgrid(object):
signature_private_key_file
=
None
,
signature_private_key_file
=
None
,
upload_cache_url
=
None
,
upload_cache_url
=
None
,
upload_dir_url
=
None
,
upload_dir_url
=
None
,
upload_authentication_file
=
None
,
master_ca_file
=
None
,
master_ca_file
=
None
,
certificate_repository_path
=
None
,
certificate_repository_path
=
None
,
console
=
False
):
console
=
False
):
...
@@ -302,7 +298,6 @@ class Slapgrid(object):
...
@@ -302,7 +298,6 @@ class Slapgrid(object):
self
.
signature_private_key_file
=
signature_private_key_file
self
.
signature_private_key_file
=
signature_private_key_file
self
.
upload_cache_url
=
upload_cache_url
self
.
upload_cache_url
=
upload_cache_url
self
.
upload_dir_url
=
upload_dir_url
self
.
upload_dir_url
=
upload_dir_url
self
.
upload_authentication_file
=
upload_authentication_file
# Configures logger
# Configures logger
self
.
logger
=
logging
.
getLogger
(
'Slapgrid'
)
self
.
logger
=
logging
.
getLogger
(
'Slapgrid'
)
# Creates objects from slap module
# Creates objects from slap module
...
@@ -377,9 +372,7 @@ class Slapgrid(object):
...
@@ -377,9 +372,7 @@ class Slapgrid(object):
console
=
self
.
console
,
buildout
=
self
.
buildout
,
console
=
self
.
console
,
buildout
=
self
.
buildout
,
signature_private_key_file
=
self
.
signature_private_key_file
,
signature_private_key_file
=
self
.
signature_private_key_file
,
upload_cache_url
=
self
.
upload_cache_url
,
upload_cache_url
=
self
.
upload_cache_url
,
upload_dir_url
=
self
.
upload_dir_url
,
upload_dir_url
=
self
.
upload_dir_url
).
install
()
upload_authentication_file
=
self
.
upload_authentication_file
)
\
.
install
()
except
(
SystemExit
,
KeyboardInterrupt
):
except
(
SystemExit
,
KeyboardInterrupt
):
exception
=
traceback
.
format_exc
()
exception
=
traceback
.
format_exc
()
software_release
.
error
(
exception
)
software_release
.
error
(
exception
)
...
...
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