Commits

ms2ger committed dac7d59

Remove some unused imports.

Comments (0)

Files changed (7)

anolislib/generator.py

 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
-import sys
 
 import html5lib
 from html5lib import treebuilders, treewalkers

anolislib/processes/annotate.py

 import urlparse
 import urllib2
 from collections import defaultdict
-import sys
 
 statuses =   {"UNKNOWN": "Unknown",
               "TBW": "Idea; yet to be specified",

anolislib/processes/refs.py

 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
-import re
 from lxml import etree
 
 try:

anolislib/processes/xref.py

 
 import re
 from lxml import etree
-from copy import deepcopy
 
 try:
     import json

anolislib/processes/xspecxref.py

 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
-import re
 from lxml import etree
-from copy import deepcopy
 
 try:
   import json
     with a '/'). `to_dir` is the directory where the egg will be downloaded.
     `delay` is the number of seconds to pause before an actual download attempt.
     """
-    import urllib2, shutil
+    import urllib2
     egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3])
     url = download_base + egg_name
     saveto = os.path.join(to_dir, egg_name)
 import unittest
 
 import html5lib
-from html5lib import treebuilders, treewalkers
+from html5lib import treebuilders
 from lxml import etree
 
 from anolislib import generator