]> arthur.barton.de Git - bup.git/commitdiff
Assorted cleanups to Luke's cygwin fixes.
authorAvery Pennarun <apenwarr@gmail.com>
Mon, 11 Jan 2010 20:06:03 +0000 (15:06 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Mon, 11 Jan 2010 20:21:23 +0000 (15:21 -0500)
There were a few things that weren't quite done how I would have done them,
so I changed the implementation.  Should still work in cygwin, though.

The only actual functional changes are:
 - index.Reader.close() now actually sets m=None rather than just closing it
 - removed the "if rename fails, then unlink first" logic, which is
   seemingly not needed after all.
 - rather than special-casing cygwin to use "hostname" instead of "hostname
   -f", it turns out python has a socket.getfqdn() that does what we want.


No differences found