Fix --diff failing on one-line hunks #137

Merged
merged 1 commit into from Dec 9, 2012

2 participants

@gthb

Without this fix, pep8 --diff fails uncleanly on diff hunks where either
the old or the new hunk is just one line and the patch omits the ,1

Compact fix for jcrocholl#127 — there is another pull request for it but that's a little verbose

@gthb gthb Fix --diff failing on one-line hunks
Without this fix, pep8 --diff fails uncleanly on diff hunks where either
the old or the new hunk is just one line and the patch omits the `,1`

Compact fix for jcrocholl#127
3a275ec
@florentx florentx merged commit 60b70eb into PyCQA:master Dec 9, 2012
@florentx

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment