From acf519f5c5e02578efe6e9c3e1816654e0f23e95 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Tue, 20 Oct 2015 18:14:14 +0200 Subject: 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 --- ipapython/secrets/store.py | 1 - 1 file changed, 1 deletion(-) (limited to 'ipapython') 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 -- cgit