]> arthur.barton.de Git - bup.git/commit
lib/bup/vfs: bring back Python 2.4 support
authorGabriel Filion <lelutin@gmail.com>
Fri, 20 Aug 2010 06:24:57 +0000 (02:24 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 22 Aug 2010 06:40:31 +0000 (23:40 -0700)
commite6c90ee947a3a2745cd39be50f8459c631be135c
tree884791385f2945ec70d4593e4a5932b18fd131b8
parentc7a0f06aece3ab9716784800be7b8e1baa6b417e
lib/bup/vfs: bring back Python 2.4 support

There is currently one test failure when running tests against Python
2.4: a try..except..finally block that's interpreted as a syntax error.
The commit introducing this incompatibility with 2.4 is f77a0829

This is a well known python 2.4 limitation and the workaround, although
ugly, is easy.

With this test passing, Python 2.4 support is back.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
lib/bup/vfs.py