diff options
author | Petr Viktorin <pviktori@redhat.com> | 2016-01-05 13:57:51 +0100 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-01-20 11:59:21 +0100 |
commit | 06a678c1592928403d7619e11dc0fdb6828d51f9 (patch) | |
tree | b3bb0deef2afa8a7a9e6c182ab6ad0ee37f08083 /ipapython | |
parent | b2436560dfb4f2d45d3bf4bdfe1b2a05ff98ee38 (diff) | |
download | freeipa-06a678c1592928403d7619e11dc0fdb6828d51f9.tar.gz freeipa-06a678c1592928403d7619e11dc0fdb6828d51f9.tar.xz freeipa-06a678c1592928403d7619e11dc0fdb6828d51f9.zip |
Avoid builtins that were removed in Python 3
- `file` was removed in favor of `open`. Switch to the new spelling.
- `buffer` was removed in favor of a buffer protocol (and memoryview),
and `reload` was moved to importlib.
Both are used in py2-only blocks, so just placate PyLint.
https://fedorahosted.org/freeipa/ticket/5623
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipapython')
0 files changed, 0 insertions, 0 deletions