]> arthur.barton.de Git - bup.git/commit
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)
commitc823518e790c9cac4087ab0677b8d127efc431c4
tree66d3b2d1cd583de6f448eea46154f32d0327f771
parent3b66ed1054ad911f6b4cd95faf36798aea8a4156
Assorted cleanups to Luke's cygwin fixes.

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.
.gitignore
Makefile
client.py
cmd-index.py
helpers.py
index.py