techtonik / python-patch

Library to parse and apply unified diffs
https://pypi.python.org/pypi/patch
106 stars 63 forks source link

Fixed encoding error when using --debug in python 3 #73

Open pjwhams opened 3 years ago

pjwhams commented 3 years ago

If you run with the --debug flag in Python 3 then the script exits because p.source and p.target are bytes rather than string.