Changeset 5996 for main


Ignore:
Timestamp:
28 Apr 2011, 08:08:12 (14 years ago)
Author:
uli
Message:

Add safety-belt when building course URLs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r5993 r5996  
    12121212            #import pdb; pdb.set_trace()
    12131213            courseref_url = self.url(self.context[key])
    1214             course_url = self.url(course)
     1214            try:
     1215                course_url = self.url(course)
     1216            except:
     1217                course_url = ''
    12151218            semester = course.semester
    12161219
Note: See TracChangeset for help on using the changeset viewer.