Removing unused imports and an unused media_files dict reference

This commit is contained in:
Christopher Allan Webber 2013-04-15 15:31:22 -05:00
parent bbd7112a5e
commit 1d1276be79

View 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)