summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2015-10-20 18:14:14 +0200
committerTomas Babej <tbabej@redhat.com>2015-10-27 17:23:25 +0100
commitacf519f5c5e02578efe6e9c3e1816654e0f23e95 (patch)
treed6b2e78311d45148a3652ded8a208cdd47ca1082 /ipapython
parent6811b4be6ae462526a1c6bec222e939045879ba1 (diff)
downloadfreeipa-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.py1
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