Removing unused imports and an unused media_files dict reference
authorChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 15 Apr 2013 20:31:22 +0000 (15:31 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 15 Apr 2013 20:31:22 +0000 (15:31 -0500)
mediagoblin/media_types/pdf/processing.py

index 51862c7eacaa2a75a5b67ff2eb24183f896ce837..d5db2223169ef5371996f3b803888b9a5ab8d7ab 100644 (file)
@@ -13,9 +13,7 @@
 #
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
-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)