Skip to content

Commit

Permalink
lib/wind: get-punycode-examples.py whitespace fix
Browse files Browse the repository at this point in the history
Change-Id: I89e82539578fd9436ee735c124401fa019369eee
  • Loading branch information
jaltman authored and nicowilliams committed Jan 2, 2019
1 parent da6190e commit 4d57ee7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/wind/gen-punycode-examples.py
Expand Up @@ -71,7 +71,7 @@
else:
m = re.search('^ *([uU]+.*) *$', l)
if m:
codes.extend(m.group(1).split(' '))
codes.extend(m.group(1).split(' '))
else:
m = re.search('^ *Punycode: (.*) *$', l)
if m:
Expand All @@ -80,7 +80,7 @@
if re.match('^7\.1', l):
start = True
cases = []

f.close()

examples_h.file.write(
Expand Down Expand Up @@ -114,7 +114,7 @@
examples_c.file.write(
" {%u, {%s}, \"%s\", \"%s\"},\n" %
(len(cp),
",".join([re.sub('[uU]\+', '0x', x) for x in cp]),
",".join([re.sub('[uU]\+', '0x', x) for x in cp]),
pc,
desc))

Expand Down

0 comments on commit 4d57ee7

Please sign in to comment.