]> git.michaelhowe.org Git - packages/b/bup.git/commit
cmd-index.py: Retry os.open without O_LARGEFILE if not supported.
authorLukasz Kosewski <lkosewsk@gmail.com>
Sun, 10 Jan 2010 08:57:42 +0000 (03:57 -0500)
committerLukasz Kosewski <lkosewsk@gmail.com>
Sun, 10 Jan 2010 08:57:42 +0000 (03:57 -0500)
commitcaabf81997973c7c4eceb0b97e4d21c88092fb18
tree03a7ed071624cca6466f297bf57db77f343d25b4
parent18c6ffd1c93dab992a62c974afe75e5396736160
cmd-index.py:  Retry os.open without O_LARGEFILE if not supported.

Python under Cygwin doesn't have os.O_LARGEFILE, so if we receive an
'AttributeError' exception trying to open something, just remove
O_LARGEFILE and try again.
cmd-index.py