diff options
| author | Christian Heimes <cheimes@redhat.com> | 2015-07-14 13:18:55 +0200 |
|---|---|---|
| committer | Tomas Babej <tbabej@redhat.com> | 2015-07-14 13:59:31 +0200 |
| commit | 18d417e981045830f5dd359cf912caf3b0b9e6d3 (patch) | |
| tree | 7a1ebadb49d494f1bf8c23e435cf53f45e7e46d4 /ipapython/errors.py | |
| parent | 35e219f996b933c8f9a5e5624bbffd6174f4c55c (diff) | |
| download | freeipa-18d417e981045830f5dd359cf912caf3b0b9e6d3.tar.gz freeipa-18d417e981045830f5dd359cf912caf3b0b9e6d3.tar.xz freeipa-18d417e981045830f5dd359cf912caf3b0b9e6d3.zip | |
Replace file() with open()
The open() function is the recommended way to open a file. In Python 3
the file type is gone, but open() still works the same.
The patch is related to https://fedorahosted.org/freeipa/ticket/5127
Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipapython/errors.py')
0 files changed, 0 insertions, 0 deletions
