From 5d7975164dd31b9cb26822c323e4202dcc8a2735 Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Fri, 6 Mar 2015 22:51:58 +0100 Subject: [PATCH] remove unused imports --- src/img2pdf.py | 1 - src/jp2.py | 1 - src/tests/__init__.py | 2 -- 3 files changed, 4 deletions(-) diff --git a/src/img2pdf.py b/src/img2pdf.py index fb197b4..db8778f 100755 --- a/src/img2pdf.py +++ b/src/img2pdf.py @@ -20,7 +20,6 @@ import sys import zlib import argparse -import struct from PIL import Image from datetime import datetime from jp2 import parsejp2 diff --git a/src/jp2.py b/src/jp2.py index 4f960fe..c897e5f 100644 --- a/src/jp2.py +++ b/src/jp2.py @@ -20,7 +20,6 @@ # along with this program. If not, see . import struct -import sys def getBox(data, byteStart, noBytes): boxLengthValue = struct.unpack(">I", data[byteStart:byteStart+4])[0] diff --git a/src/tests/__init__.py b/src/tests/__init__.py index e3eb235..3508baf 100644 --- a/src/tests/__init__.py +++ b/src/tests/__init__.py @@ -1,8 +1,6 @@ import unittest -import datetime import os -import unittest import img2pdf import zlib from PIL import Image