diff options
| author | Christian Breunig <christian@breunig.cc> | 2024-06-27 15:40:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-27 15:40:23 +0200 |
| commit | da1515c704e5170cdec420bbd7ce0e4cdb4da868 (patch) | |
| tree | a67f8ff4fbded2079ecd470667386df7e1078a1b /python/vyos/utils/dict.py | |
| parent | b3b1d59d86af510c454da446f013b514389f5c7f (diff) | |
| parent | 5502a75b1747caf94e2b69982c89088281c8ca1f (diff) | |
| download | vyos-1x-da1515c704e5170cdec420bbd7ce0e4cdb4da868.tar.gz vyos-1x-da1515c704e5170cdec420bbd7ce0e4cdb4da868.zip | |
Merge pull request #3692 from jestabro/revise-migration
T6007: revise migration system
Diffstat (limited to 'python/vyos/utils/dict.py')
| -rw-r--r-- | python/vyos/utils/dict.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/utils/dict.py b/python/vyos/utils/dict.py index 062ab9c81..1eb6abcd5 100644 --- a/python/vyos/utils/dict.py +++ b/python/vyos/utils/dict.py @@ -34,7 +34,7 @@ def colon_separated_to_dict(data_string, uniquekeys=False): otherwise they are always lists of strings. """ import re - key_value_re = re.compile('([^:]+)\s*\:\s*(.*)') + key_value_re = re.compile(r'([^:]+)\s*\:\s*(.*)') data_raw = re.split('\n', data_string) |
