Updated. I used inspect.getargspec() as it seems more pythonic to check that the function we're calling supports the argument. We could compare to bzrlib.version_info instead if you don't like inspect but the fix doesn't show up in bzrlib until 2.2b1.
Updated. I used inspect. getargspec( ) as it seems more pythonic to check that the function we're calling supports the argument. We could compare to bzrlib.version_info instead if you don't like inspect but the fix doesn't show up in bzrlib until 2.2b1.