summaryrefslogtreecommitdiffstats
path: root/waflib/extras/file_to_object.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-02-23 19:46:24 +0100
committerDavid Robillard <d@drobilla.net>2020-02-23 19:46:24 +0100
commit499a8f5f75e68befc87b23082292637aad0fcbe5 (patch)
tree3f8da58feeca7ef6a1309a74a343e53697bd6599 /waflib/extras/file_to_object.py
parentdb0376206ca92c402f0d4f8d20c96307c41a7d02 (diff)
downloadlilv-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 'waflib/extras/file_to_object.py')
0 files changed, 0 insertions, 0 deletions