From a89d3537757cc74f3e6652565487eab36537b4ed Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Mon, 24 Feb 2020 10:02:21 -0300 Subject: Update abdl.py so we can use key predicates --- ganarchy/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ganarchy') diff --git a/ganarchy/config.py b/ganarchy/config.py index 59766ed..f1a0cd6 100644 --- a/ganarchy/config.py +++ b/ganarchy/config.py @@ -26,7 +26,7 @@ from enum import Enum # validate = error on invalid entries CONFIG_REPOS_SANITIZE = abdl.compile("""->'projects'?:?$dict ->commit/[0-9a-fA-F]{40}|[0-9a-fA-F]{64}/?:?$dict - ->url:?$dict + ->url[:?$uri]:?$dict ->branch:?$dict(->'active'?:?$bool)""", {'bool': bool, 'dict': dict, 'uri': object})#URIValidator}) CONFIG_REPOS = abdl.compile("->'projects'->commit->url->branch", {'dict': dict}) -- cgit 1.4.1