]> arthur.barton.de Git - bup.git/commit - lib/bup/index.py
index.py: handle uid/gid == -1 on cygwin bup-0.17b
authorAvery Pennarun <apenwarr@gmail.com>
Mon, 6 Sep 2010 07:32:59 +0000 (00:32 -0700)
committerAvery Pennarun <apenwarr@gmail.com>
Mon, 6 Sep 2010 07:47:20 +0000 (00:47 -0700)
commit8417c11948532ba890b862dcad9d37810d482616
treebd6480679301586426579470c386754da7389c43
parent479b8dd89a459f173c4d3ce61b6928b42825e170
index.py: handle uid/gid == -1 on cygwin

On cygwin, the uid or gid might be -1 for some reason.  struct.pack()
complains about a DeprecationWarning when packing a negative number into an
unsigned int, so fix it up first.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
lib/bup/index.py