[Epydoc-commits] SF.net SVN: epydoc: [1651] trunk/epydoc/src/epydoc/apidoc.py
Brought to you by:
edloper
From: <ed...@us...> - 2007-09-26 04:00:56
|
Revision: 1651 http://epydoc.svn.sourceforge.net/epydoc/?rev=1651&view=rev Author: edloper Date: 2007-09-25 21:00:55 -0700 (Tue, 25 Sep 2007) Log Message: ----------- - Don't issue @sort warnings for special vars __all__, __docformat__, and __path__, since they get supressed by epydoc.docparser. Modified Paths: -------------- trunk/epydoc/src/epydoc/apidoc.py Modified: trunk/epydoc/src/epydoc/apidoc.py =================================================================== --- trunk/epydoc/src/epydoc/apidoc.py 2007-09-26 03:48:06 UTC (rev 1650) +++ trunk/epydoc/src/epydoc/apidoc.py 2007-09-26 04:00:55 UTC (rev 1651) @@ -1007,8 +1007,9 @@ self.sorted_variables.append(unsorted.pop(name)) unused_idents.discard(ident) for ident in unused_idents: - log.warning("@sort: %s.%s not found" % - (self.canonical_name, ident)) + if ident not in ['__all__', '__docformat__', '__path__']: + log.warning("@sort: %s.%s not found" % + (self.canonical_name, ident)) # Add any remaining variables in alphabetical order. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |