Changeset 3320 for WAeUP_SRP/base/WAeUPImport.py
- Timestamp:
- 11 Mar 2008, 20:31:44 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPImport.py
r3319 r3320 60 60 self.students_folder = waeup_tool.portal_url.getPortalObject().campus.students 61 61 self.member = member = waeup_tool.portal_membership.getAuthenticatedMember() 62 self.import_date = DateTime.DateTime().strftime("%d/%m/%y %H:%M:%S") 63 self.current = DateTime.DateTime().strftime("%d-%m-%y_%H_%M_%S") 62 self.import_date = DateTime.DateTime() 63 self.imported_by = str(member) 64 #self.current = DateTime.DateTime().strftime("%d-%m-%y_%H_%M_%S") 64 65 self.waeup_tool = waeup_tool 65 66 self.academics_folder = waeup_tool.portal_url.getPortalObject().campus.academics … … 102 103 info = {} 103 104 info['imported_from'] = '' 104 info['imported_by'] = str(member)105 info['import_date'] = self.import_date 105 info['imported_by'] = self.imported_by 106 info['import_date'] = self.import_date.strftime("%d/%m/%y %H:%M:%S") 106 107 info['error'] = '' 107 108 self.info = info
Note: See TracChangeset for help on using the changeset viewer.