- Timestamp:
- 15 Aug 2007, 15:14:29 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_utilities/deleteResultByKey.py
r2007 r2097 24 24 res_imp = context.results_import 25 25 students = context.portal_url.getPortalObject().campus.students 26 if str(member) not in ('admin','joachim' ) or key is None:26 if str(member) not in ('admin','joachim','med','despej') or key is None: 27 27 return 28 28 … … 37 37 res_imp.deleteRecord(r.key) 38 38 res_deleted.append(r.key) 39 msg = "%s result deleted from results_import" % (',\n'.join(res_deleted))39 msg = "%s deleted result %s from results_import" % (member,',\n'.join(res_deleted)) 40 40 else: 41 41 msg = "No results %s to delete from results_import" % key
Note: See TracChangeset for help on using the changeset viewer.