- Timestamp:
- 16 Aug 2006, 08:47:48 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r373 r381 124 124 err = 0 125 125 c_ids = [c.id for c in self.portal_catalog({'meta_type': "Course"})] 126 if value not in c_ids: 126 if hasattr(self.aq_parent,value): 127 err = 'Course %s already exists' % (value) 128 elif value not in c_ids: 127 129 err = 'Course %s does not exist' % (value) 128 130 if err:
Note: See TracChangeset for help on using the changeset viewer.