Commits

Georg Brandl  committed 815ea3b

Remove unused import.

  • Participants
  • Parent commits 98ab679

Comments (0)

Files changed (1)

File sphinx/environment.py

 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,
                                                               subtree=True):