witten
/
luminotes
Archived
1
0
Fork 0

Another filter to skip None notes.

This commit is contained in:
Dan Helfman 2007-07-19 20:15:07 +00:00
parent 2b307b6690
commit 203a8f9e70
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ class Notebooks( object ):
return
RECENT_COUNT = 10
notes = notebook.notes
notes = [ note for note in notebook.notes if note is not None ]
notes.sort( lambda a, b: cmp( b.revision, a.revision ) )
yield dict(