1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

use custom fork of sshtunnel; remove ujson

This commit is contained in:
checktheroads
2020-04-12 02:10:09 -07:00
parent 3c2b9bf61e
commit 534047de36
11 changed files with 1646 additions and 23 deletions

View File

@@ -179,7 +179,7 @@ def validate_aspath(value):
mode = params.queries.bgp_aspath.pattern.mode
pattern = getattr(params.queries.bgp_aspath.pattern, mode)
if not re.match(pattern, value):
if not bool(re.match(pattern, value)):
raise InputInvalid(
params.messages.invalid_input,
target=value,