removed whitespaces inserted by online editor
This commit is contained in:
parent
bfa953270d
commit
3693bc2d8b
|
@ -98,14 +98,14 @@ def process_options(options):
|
||||||
:param options:
|
:param options:
|
||||||
:return: dict or valid verisign options
|
:return: dict or valid verisign options
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# if there is a config variable with VERISIGN_PRODUCT_<upper(authority.name)> take the value as Cert product-type
|
# if there is a config variable with VERISIGN_PRODUCT_<upper(authority.name)> take the value as Cert product-type
|
||||||
# else default to "Server", to be compatoible with former versions
|
# else default to "Server", to be compatoible with former versions
|
||||||
authority = options.get("authority").name.upper()
|
authority = options.get("authority").name.upper()
|
||||||
product_type = current_app.config.get("VERISIGN_PRODUCT_{0}".format(authority))
|
product_type = current_app.config.get("VERISIGN_PRODUCT_{0}".format(authority))
|
||||||
if product_type is None:
|
if product_type is None:
|
||||||
product_type = "Server"
|
product_type = "Server"
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
"challenge": get_psuedo_random_string(),
|
"challenge": get_psuedo_random_string(),
|
||||||
"serverType": "Apache",
|
"serverType": "Apache",
|
||||||
|
|
Loading…
Reference in New Issue