Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Deccio <casey@deccio.net>2016-08-19 17:46:35 +0300
committerCasey Deccio <casey@deccio.net>2016-08-19 17:46:35 +0300
commitd92dfe04cb144081c3eb1a4ebecfecf46998e61a (patch)
tree15a19dcb2bffc643a4708449806e877d51f6fa3e
parent965e24371e22ccdc2ecac73cade53614b6040fc5 (diff)
Consider multiple lists
-rw-r--r--dnsviz/commands/grok.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dnsviz/commands/grok.py b/dnsviz/commands/grok.py
index 23f53ec..8c6625b 100644
--- a/dnsviz/commands/grok.py
+++ b/dnsviz/commands/grok.py
@@ -82,7 +82,7 @@ TERM_COLOR_MAP = {
KEY_RE = re.compile(r'^((?P<indent>\s+)")(.+)(": [\[{"])')
ERRORS_RE = re.compile(r'^((?P<indent>\s+)")((?P<level>warning|error)s?)(": \[)$')
-ERRORS_CLOSE_RE = re.compile(r'^(?P<indent>\s+)]$')
+ERRORS_CLOSE_RE = re.compile(r'^(?P<indent>\s+)],?$')
DESCRIPTION_CODE_RE = re.compile(r'^((?P<indent>\s+)")(?P<name>description|code)(": ")(.+)(",?)$')
STATUS_RE = re.compile(r'^(?P<indent>\s+)("status": ")(?P<status>.+)(",?)')