From 0597d991d95406303790deaaf28b9adde51f3365 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Thu, 13 Feb 2020 11:55:08 -0800 Subject: [PATCH] monkeysphere: Fix regression with reading Apache configuration Additional ')' got accidentally inserted into the augeas path to be read during a commit for routine styling (ed646d84a51ae2c54ed7950ce60cb9e9662ada71). Reviewed-by: James Valleroy --- actions/monkeysphere | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/monkeysphere b/actions/monkeysphere index badaab5c3..dc9905e1b 100755 --- a/actions/monkeysphere +++ b/actions/monkeysphere @@ -129,7 +129,7 @@ def get_https_keys(fingerprint_hash): # Read from FreedomBox configured domains with proper SSL certs. path = "/files/etc/apache2/sites-available//" \ "directive[. = 'Use'][arg[1] = 'FreedomBoxTLSSiteMacro']" - key_file = ("/files/etc/apache2//Macro[arg[1] = 'FreedomBoxTLSSiteMacro'])" + key_file = ("/files/etc/apache2//Macro[arg[1] = 'FreedomBoxTLSSiteMacro']" "//VirtualHost/directive[. = 'GnuTLSKeyFile']/arg") key_file = aug.get(key_file) for match in aug.match(path):