[Python-checkins] r55998 - sandbox/trunk/pep0/pep0/output.py

brett.cannon python-checkins at python.org
Sat Jun 16 00:22:33 CEST 2007


Author: brett.cannon
Date: Sat Jun 16 00:22:23 2007
New Revision: 55998

Modified:
   sandbox/trunk/pep0/pep0/output.py
Log:
Remove empty PEPs as they no longer are valid.


Modified: sandbox/trunk/pep0/pep0/output.py
==============================================================================
--- sandbox/trunk/pep0/pep0/output.py	(original)
+++ sandbox/trunk/pep0/pep0/output.py	Sat Jun 16 00:22:23 2007
@@ -20,14 +20,13 @@
 
 
 def sort_peps(peps):
-    """Sort PEPs into meta, informational, accepted, open, finished, empty,
+    """Sort PEPs into meta, informational, accepted, open, finished,
     and essentially dead."""
     meta = []
     info = []
     accepted = []
     open_ = []
     finished = []
-    empty = []
     dead = []
     for pep in peps:
         # Order of 'if' statement important.  Key Status values take precedence
@@ -45,7 +44,7 @@
             accepted.append(pep)
         elif pep.status == 'Final':
             finished.append(pep)
-    return meta, info, accepted, open_, finished, empty, dead
+    return meta, info, accepted, open_, finished, dead
 
 
 def write_pep0(peps, output=stdout):
@@ -57,7 +56,7 @@
     print>>output, "Index by Category"
     print>>output
     write_column_headers(output)
-    meta, info, accepted, open_, finished, empty, dead = sort_peps(peps)
+    meta, info, accepted, open_, finished, dead = sort_peps(peps)
     print>>output
     print>>output, " Meta-PEPs (PEPs about PEPs or Processs)"
     print>>output
@@ -84,11 +83,6 @@
     for pep in finished:
         print>>output, pep
     print>>output
-    print>>output, " Empty PEPs (or containing only abstract)"
-    print>>output
-    for pep in empty:
-        print>>output, pep
-    print>>output
     print>>output, " Deferred, Abandoned, Withdrawn, and Rejected PEPs"
     print>>output
     for pep in dead:


More information about the Python-checkins mailing list