grnd / python-patch

Automatically exported from code.google.com/p/python-patch
0 stars 0 forks source link

xstrip function does not a filename, causing various troubles and exceptions (patch attached) #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
@ r158 , xstrip does not return a file, resulting in anything that relies on 
the Path.target to be a string to fail (such as diffstat)

I have attached a patch (of course) with a test and a fix.

Thanks for this great tool!

Original issue reported on code.google.com by pombreda...@nexb.com on 21 Aug 2012 at 7:08

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r166.

Original comment by techtonik@gmail.com on 22 Nov 2012 at 5:33

GoogleCodeExporter commented 8 years ago
Epic fail. Thanks. =)

Original comment by techtonik@gmail.com on 22 Nov 2012 at 5:34