~ubuntu-branches/ubuntu/quantal/lernid/quantal

« back to all changes in this revision

Viewing changes to lernid/Sessions.py

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Higginson
  • Date: 2010-07-31 08:42:13 UTC
  • Revision ID: james.westby@ubuntu.com-20100731084213-g9zh9tl2xnib586s
Tags: 0.7
* New upstream version, fixes bugs:
  (LP: #530119) - Don't block UI when downloading slides
  (LP: #500495) - Should support other IRC channel prefixes than '#'
  (LP: #510003) - Warnings in the terminal when closing Lernid
  (LP: #530115) - exit in terminal
  (LP: #514733) - Preload the default page in browser
  (LP: #503224) - Lernid opens too small
  (LP: #530810) - URLs in chat area should be clickable 
  (LP: #530821) - Add an xchat-type separator line for new text in
                  classroom
  (LP: #531492) - missing copy menu entries for browser widget
* debian/control, change section:
  (LP: #546968) - Inappropriately appears in Ubuntu Software Center
                  "Developer Tools" > "Python"

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 
70
70
    @property
71
71
    def slides(self):
72
 
        return self._slides
 
72
        return getattr(self, '_slides', None)
73
73
 
74
74
    @property
75
75
    def evenet(self):
102
102
        local_end = dt.as_local(session.dtend.value)
103
103
 
104
104
        if eventstart_local < local_start < eventend_local:
105
 
            session_data = parse_ical_description(session.description.value)
 
105
            if hasattr(session, "description"):
 
106
                session_data = parse_ical_description(session.description.value)
106
107
            sessions.append(Session(
107
108
                title = session.summary.value,
108
109
                local_start = local_start,