PageRenderTime 33ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/pyjs/tests/test024.py

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