Commit 4cfa7f0
committed
pprinter: drop Python 2 unicode shim
The try/except block that defined unicode = str when unicode was not
a builtin was Python 2 compatibility code. In Python 3, unicode does
not exist; str is always correct. Drop the shim and use str directly.
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Part-of: #621 parent 3d22104 commit 4cfa7f0
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | 165 | | |
172 | 166 | | |
173 | 167 | | |
| |||
199 | 193 | | |
200 | 194 | | |
201 | 195 | | |
202 | | - | |
| 196 | + | |
203 | 197 | | |
204 | 198 | | |
205 | 199 | | |
| |||
0 commit comments