diff options
author | David Robillard <d@drobilla.net> | 2020-02-23 19:46:24 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-02-23 19:46:24 +0100 |
commit | 499a8f5f75e68befc87b23082292637aad0fcbe5 (patch) | |
tree | 3f8da58feeca7ef6a1309a74a343e53697bd6599 /bindings/test/python/test_api.py | |
parent | db0376206ca92c402f0d4f8d20c96307c41a7d02 (diff) | |
download | lilv-499a8f5f75e68befc87b23082292637aad0fcbe5.tar.gz lilv-499a8f5f75e68befc87b23082292637aad0fcbe5.tar.bz2 lilv-499a8f5f75e68befc87b23082292637aad0fcbe5.zip |
Fix namespace add operator with Python 2
In Python 2, a __coerce__ attribute of the Namespace is requested in this case,
which ends up producing an error. Work around this by defining a __coerce__
method that does nothing so __getattr__ is not called for it.
Diffstat (limited to 'bindings/test/python/test_api.py')
0 files changed, 0 insertions, 0 deletions