Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Python 2 doesn't like `thing is unicode`; it wants `thing == unicode`. Of course, it just works with regular str in both py2 and py3… Oh well. This is another find from @Exirel's overhaul of URL handling for 7.x. As long as I was touching the line anyway, I added parentheses to make the operator precedence explicit. Likely unnecessary, but probably easier to read by some small measure.
- Loading branch information