PageRenderTime 50ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/pyjs/tests/test026.py

http://pyjamas.googlecode.com/
Python | 5 lines | 5 code | 0 blank | 0 comment | 1 complexity | a9a05dfda07591c6b43809eca0b71fb6 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. class SchoolCalendarWidget:
  2. def setDayIncluded(self, day, included):
  3. if (self.daysFilter[day] == included):
  4. return
  5. self.daysFilter[day] = included