Wrap too long line

This commit is contained in:
Marek Marczykowski-Górecki 2020-07-15 14:01:29 +02:00
parent 470514d0dc
commit 6f335800b0
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -136,7 +136,8 @@ def escape_config_string(value):
https://github.com/Grk0/python-libconf/blob/master/libconf.py
'''
assert not NON_ASCII_RE.match(value), 'expected an ASCII string: {!r}'.format(value)
assert not NON_ASCII_RE.match(value),\
'expected an ASCII string: {!r}'.format(value)
value = (
value.replace('\\', '\\\\')