Logo Search packages:      
Sourcecode: yagtd version File versions  Download package

def gtd::ToDo::sort (   self )
Return all tasks sorted by priority.

Definition at line 345 of file gtd.py.

00345                   :  # all by priority
        """Return all tasks sorted by priority."""
        
        tasks = self[:]
        tasks.sort(self._cmp_prio)
        return tasks


Generated by  Doxygen 1.6.0   Back to index