From 1d1276be790ed958800f507f08535759c55765b5 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Mon, 15 Apr 2013 15:31:22 -0500 Subject: [PATCH] Removing unused imports and an unused media_files dict reference --- mediagoblin/media_types/pdf/processing.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mediagoblin/media_types/pdf/processing.py b/mediagoblin/media_types/pdf/processing.py index 51862c7e..d5db2223 100644 --- a/mediagoblin/media_types/pdf/processing.py +++ b/mediagoblin/media_types/pdf/processing.py @@ -13,9 +13,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -import chardet import os -import Image import logging import dateutil.parser from subprocess import STDOUT, check_output, call, CalledProcessError @@ -236,8 +234,6 @@ def process_pdf(proc_state): queued_filename = proc_state.get_queued_filename() name_builder = FilenameBuilder(queued_filename) - media_files_dict = entry.setdefault('media_files', {}) - # Copy our queued local workbench to its final destination original_dest = name_builder.fill('{basename}{ext}') proc_state.copy_original(original_dest) -- 2.25.1