diff options
| author | Petr Viktorin <pviktori@redhat.com> | 2015-10-20 18:14:14 +0200 |
|---|---|---|
| committer | Tomas Babej <tbabej@redhat.com> | 2015-10-27 17:23:25 +0100 |
| commit | acf519f5c5e02578efe6e9c3e1816654e0f23e95 (patch) | |
| tree | d6b2e78311d45148a3652ded8a208cdd47ca1082 /ipapython | |
| parent | 6811b4be6ae462526a1c6bec222e939045879ba1 (diff) | |
| download | freeipa-acf519f5c5e02578efe6e9c3e1816654e0f23e95.tar.gz freeipa-acf519f5c5e02578efe6e9c3e1816654e0f23e95.tar.xz freeipa-acf519f5c5e02578efe6e9c3e1816654e0f23e95.zip | |
ipapython.secrets: Port to Python 3
StringIO was renamed in Python 3. The import was was unused,
so remove it.
Files need to be opened in binary mode if bytes are written to them.
(For Python 2: on Linux, there's no practical difference between
text and binary mode)
Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipapython')
| -rw-r--r-- | ipapython/secrets/store.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ipapython/secrets/store.py b/ipapython/secrets/store.py index 8f2d79826..26dcc4688 100644 --- a/ipapython/secrets/store.py +++ b/ipapython/secrets/store.py @@ -11,7 +11,6 @@ import ldap import os import shutil import sys -import StringIO import tempfile |
