From a74df017ae0e438567fcbc0a08a273eea88f7280 Mon Sep 17 00:00:00 2001 From: Chris Hoge Date: Fri, 1 Jul 2016 11:43:00 -0700 Subject: [PATCH] Add next.json to DefCore guideline list next.json is the proposed guideline for DefCore, and is published by the working group for comment and feedback. As part of the feedback process, users and DefCore working group members need to evaluate the proposed standard against existing test results. This change modifies the guideline pattern matcher to pull in the next file as well as the approved guidelines. Change-Id: I8c8391b9ab14d1c6d7286710b5e64b72be3e92a8 --- refstack/api/guidelines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refstack/api/guidelines.py b/refstack/api/guidelines.py index f00e7fcd..339911e0 100644 --- a/refstack/api/guidelines.py +++ b/refstack/api/guidelines.py @@ -65,7 +65,7 @@ class Guidelines: (response.status_code, getattr(response, 'from_cache', False))) if response.status_code == 200: - regex = re.compile('^[0-9]{4}\.[0-9]{2}\.json$') + regex = re.compile('^([0-9]{4}\.[0-9]{2}|next)\.json$') capability_files = [] for rfile in response.json(): if rfile["type"] == "file" and regex.search(rfile["name"]):