Changeset 1961


Ignore:
Timestamp:
08/27/07 00:33:51 (12 years ago)
Author:
jukka
Message:

Fixed #1503. Let me add how terribly embarassed and sorry I amabout that and the whole night. Too much wine, not enough food etc. Will never happen again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LargeSectionFolder.py

    r1930 r1961  
    883883                try: 
    884884                    post=group._getOb(postid) 
    885                     recents.append((post.CreationDate(),post)) 
     885                    if post.review_state()!='deleted': 
     886                        recents.append((post.CreationDate(),post)) 
     887                    else: 
     888                        group.removeRecent_post(postid)                         
    886889                except AttributeError: 
    887890                    # do some cleaning: 
    888891                    group.removeRecent_post(postid) 
     892                
    889893        recents.sort() 
    890894        recents = [x[1] for x in recents] 
Note: See TracChangeset for help on using the changeset viewer.