diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2020-02-24 10:02:21 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2020-02-24 10:02:21 -0300 |
commit | a89d3537757cc74f3e6652565487eab36537b4ed (patch) | |
tree | bd56718c81926914b2f762a3cf33211c5ea5b34c /ganarchy | |
parent | ba628500304ecf9460d7d39d7fb794e15401eb00 (diff) |
Update abdl.py so we can use key predicates
Diffstat (limited to 'ganarchy')
-rw-r--r-- | ganarchy/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
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}) |