Commit 7d161e1e authored by Lucas Carvalho's avatar Lucas Carvalho

Removed useless comment.

This argument must work just as instance root parameter.
Well, it can be provided by command line and by slapos configuration file.
 - command line: signature-private-key-file=/path/to/the/file
 - slapos configuration file: signature_private_key_file=/path/to/the/file
parent 4e4f2f86
......@@ -168,10 +168,7 @@ def parseArgumentTupleAndReturnSlapgridObject(*argument_tuple):
key_file = option_dict.get('key_file')
cert_file = option_dict.get('cert_file')
master_ca_file = option_dict.get('master_ca_file')
# If it was not passed as argument, we must check if it was defined into
# the configuration file.
signature_private_key_file = option_dict.get('signature_private_key_file', '')
for f in [key_file, cert_file, master_ca_file, signature_private_key_file]:
if not os.path.exists(f):
parser.error('File %r does not exists.' % f)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment