PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/pyjs/tests/test024.py

http://pyjamas.googlecode.com/
Python | 7 lines | 6 code | 1 blank | 0 comment | 2 complexity | db06c45ed79c0e6907ead1c67054460c MD5 | raw file
1class CalendarProvider:
2
3    def pushResults(self, acceptor, startRow, people):
4        rows = []
5        for person in people:
6            rows.append((person.getName(), person.getDescription(), person.getSchedule(daysFilter)))
7        acceptor.accept(startRow, rows)