From: Christopher Allan Webber Date: Mon, 15 Apr 2013 20:31:22 +0000 (-0500) Subject: Removing unused imports and an unused media_files dict reference X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1d1276be790ed958800f507f08535759c55765b5;p=mediagoblin.git Removing unused imports and an unused media_files dict reference --- 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)