1. Agiliq Solutions
  2. sphinx


Georg Brandl  committed 815ea3b

Remove unused import.

  • Participants
  • Parent commits 98ab679
  • Branches default

Comments (0)

Files changed (1)

File sphinx/environment.py

View file
  • Ignore whitespace
 import codecs
 import imghdr
 import string
-import posixpath
 import unicodedata
 import cPickle as pickle
 from os import path
                                 toplevel[1][:] = subtrees
                     # resolve all sub-toctrees
                     for toctreenode in toc.traverse(addnodes.toctree):
-                        if not ( toctreenode.get('hidden', False) and not includehidden ):
+                        if not (toctreenode.get('hidden', False)
+                                and not includehidden):
                             i = toctreenode.parent.index(toctreenode) + 1
                             for item in _entries_from_toctree(toctreenode,