File: test024.py

package info (click to toggle)
pyjamas 0.7~%2Bpre2-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 10,656 kB
  • ctags: 12,331
  • sloc: python: 74,493; php: 805; sh: 291; makefile: 59; xml: 9
file content (7 lines) | stat: -rw-r--r-- 269 bytes parent folder | download
1
2
3
4
5
6
7
class CalendarProvider:

    def pushResults(self, acceptor, startRow, people):
        rows = []
        for person in people:
            rows.append((person.getName(), person.getDescription(), person.getSchedule(daysFilter)))
        acceptor.accept(startRow, rows)