Changeset 6612
- Timestamp:
- 14 Aug 2011, 20:57:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r6589 r6612 816 816 for name in not_copied: 817 817 self.flash('File already existed (not copied): %s' % name) 818 except ValueError:818 except: 819 819 self.flash('Given storage path cannot be used.') 820 820 self.flash('Error: %s' %sys.exc_info()[1]) … … 961 961 self.context.addFaculty(faculty) 962 962 except KeyError: 963 self. status = self.flash('The faculty code chosen already exists.')963 self.flash('The faculty code chosen already exists.') 964 964 return 965 965 self.redirect(self.url(self.context, u'@@manage')+'#tab-1') … … 1100 1100 self.context.addDepartment(department) 1101 1101 except KeyError: 1102 self. status = self.flash('The code chosen already exists '1102 self.flash('The code chosen already exists ' 1103 1103 'in this faculty.') 1104 1104 return
Note: See TracChangeset for help on using the changeset viewer.