Commit f4a5aa5
Max Mikhaylov
Fixed message validation for Python 3
Added short-circuit that prevents checking if message is `unicode`, if Python version is 3.0 or higher. There is no `unicode` keyword in Python 3 since all strings are sequences of Unicode characters.1 parent b4c3fe2 commit f4a5aa5
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
261 | 263 | | |
262 | 264 | | |
263 | 265 | | |
| |||
0 commit comments