[Python-checkins] r64201 - doctools/trunk/sphinx/environment.py

georg.brandl python-checkins at python.org
Thu Jun 12 23:57:31 CEST 2008


Author: georg.brandl
Date: Thu Jun 12 23:57:31 2008
New Revision: 64201

Log:
#3096: sort "unused" warnings by docname.


Modified:
   doctools/trunk/sphinx/environment.py

Modified: doctools/trunk/sphinx/environment.py
==============================================================================
--- doctools/trunk/sphinx/environment.py	(original)
+++ doctools/trunk/sphinx/environment.py	Thu Jun 12 23:57:31 2008
@@ -1076,7 +1076,7 @@
     def check_consistency(self):
         """Do consistency checks."""
 
-        for docname in self.all_docs:
+        for docname in sorted(self.all_docs):
             if docname not in self.files_to_rebuild:
                 if docname == self.config.master_doc:
                     # the master file is not included anywhere ;)


More information about the Python-checkins mailing list