Update path in gen-wcwidth.py

This commit is contained in:
Kovid Goyal 2018-04-23 21:25:33 +05:30
parent fda57a81e1
commit 9d67198ff9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -256,7 +256,7 @@ def gen_ucd():
raise ValueError('The mark for 0xfe0e has changed, you have to update VS15 to {} and VS16 to {} in unicode-data.h'.format( raise ValueError('The mark for 0xfe0e has changed, you have to update VS15 to {} and VS16 to {} in unicode-data.h'.format(
rmap[0xfe0e], rmap[0xfe0f] rmap[0xfe0e], rmap[0xfe0f]
)) ))
with open('kittens/url_hints/url_regex.py', 'w') as f: with open('kittens/hints/url_regex.py', 'w') as f:
f.write("url_delimiters = '{}' # noqa".format(''.join(classes_to_regex(cz)))) f.write("url_delimiters = '{}' # noqa".format(''.join(classes_to_regex(cz))))