Skip to content
Commit 1da1ee91 authored by Lee Packham's avatar Lee Packham
Browse files

Fix compatibility with Python 3.5

Difflib in py3.5 checks the variable types passed in to unified_diff -
as such it would break saying they aren't strings. Previous Python
versions would just call str() on them rather than checking. This just
adds the str() check and will subsequently fix the issue and still work
on previous Python versions.
parent 98119f26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment