From 0f0d45ca5cb4e48e9e1a2e175517e6bb26826566 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 10 Nov 2014 18:33:53 -0200 Subject: fix unused imports --- service/pixelated/support/encrypted_file_storage.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'service/pixelated/support/encrypted_file_storage.py') diff --git a/service/pixelated/support/encrypted_file_storage.py b/service/pixelated/support/encrypted_file_storage.py index c6410404..4720fe91 100644 --- a/service/pixelated/support/encrypted_file_storage.py +++ b/service/pixelated/support/encrypted_file_storage.py @@ -1,10 +1,7 @@ -from StringIO import StringIO import io -import sys -import errno import os -from whoosh.filedb.filestore import FileStorage, ReadOnlyError +from whoosh.filedb.filestore import FileStorage from whoosh.filedb.structfile import StructFile, BufferFile from cryptography.fernet import Fernet @@ -61,5 +58,3 @@ class EncryptedFileStorage(FileStorage): decrypted = self._decrypt(file_content) f = BufferFile(buffer(decrypted), name=name, onclose=onclose) return f - - -- cgit v1.2.3