diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-03-10 13:54:37 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-03-10 14:01:48 +0000 |
commit | 9701cbe89dbb22d6d0e95f21eeedb6fc78e196c9 (patch) | |
tree | f1cf6b0ee050df80a397e8254b30e68da9c8bb08 /python/vyos/debug.py | |
parent | 29d27c392274e2d1b5d76690c8fdfee2f55edb00 (diff) | |
download | vyos-1x-9701cbe89dbb22d6d0e95f21eeedb6fc78e196c9.tar.gz vyos-1x-9701cbe89dbb22d6d0e95f21eeedb6fc78e196c9.zip |
T5058: Fix range_to_regex list argument
Values of the list for the 'range_to_regex' could be not only range
values as ['10-20', '22-30'] but also and not range values like
['10-20', '30', '80']
Fix if we args is list and non range values are exists in ths list
% range_to_regex(['10-20', '80'])
'(1\\d|20|80)'
Diffstat (limited to 'python/vyos/debug.py')
0 files changed, 0 insertions, 0 deletions