Mercurial > hg
comparison i18n/polib.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
comparison
equal
deleted
inserted
replaced
51699:bd1483fd7088 | 51700:7f0cb9ee0534 |
---|---|
61 def b(s): | 61 def b(s): |
62 return s | 62 return s |
63 | 63 |
64 def u(s): | 64 def u(s): |
65 return unicode(s, "unicode_escape") | 65 return unicode(s, "unicode_escape") |
66 | |
66 | 67 |
67 else: | 68 else: |
68 PY3 = True | 69 PY3 = True |
69 text_type = str | 70 text_type = str |
70 | 71 |
1886 # Arrange in reverse order so items can be efficiently popped | 1887 # Arrange in reverse order so items can be efficiently popped |
1887 # from a stack of chucks. | 1888 # from a stack of chucks. |
1888 chunks.reverse() | 1889 chunks.reverse() |
1889 | 1890 |
1890 while chunks: | 1891 while chunks: |
1892 | |
1891 # Start the list of chunks that will make up the current line. | 1893 # Start the list of chunks that will make up the current line. |
1892 # cur_len is just the length of all the chunks in cur_line. | 1894 # cur_len is just the length of all the chunks in cur_line. |
1893 cur_line = [] | 1895 cur_line = [] |
1894 cur_len = 0 | 1896 cur_len = 0 |
1895 | 1897 |