Commits

edl...@26cce582-e6ba-44bf-b3dd-dff0d0f4b894  committed ee386d7

- Fixed bug: valdocs was used before it was defined

  • Participants
  • Parent commits 73659a3

Comments (0)

Files changed (1)

File epydoc/src/epydoc/docbuilder.py

 
     # Set overrides pointers
     log.start_progress('Checking for overridden methods')
+    valdocs = sorted(docindex.reachable_valdocs(
+        imports=False, submodules=False, packages=False, subclasses=False))
     for i, val_doc in enumerate(valdocs):
         if isinstance(val_doc, ClassDoc):
             percent = float(i)/len(valdocs)
     
     # Parse the docstrings for each object.
     log.start_progress('Parsing docstrings')
-    valdocs = sorted(docindex.reachable_valdocs(
-        imports=False, submodules=False, packages=False, subclasses=False))
     suppress_warnings = set(valdocs).difference(
         docindex.reachable_valdocs(
             imports=False, submodules=False, packages=False, subclasses=False,