Changeset 7370 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 18 Dec 2011, 10:41:13 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r7368 r7370 22 22 import grok 23 23 from time import time 24 from datetime import datetime 24 from datetime import datetime, date 25 25 from zope.component import getUtility, createObject 26 26 from zope.formlib.form import setUpEditWidgets -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/workflow.py
r7321 r7370 159 159 user = get_current_principal() 160 160 applicants_root = grok.getSite()['applicants'] 161 applicants_root.logger.info('%s - %s - %s' % (user.id,obj.a ccess_code,msg))161 applicants_root.logger.info('%s - %s - %s' % (user.id,obj.applicant_id,msg)) 162 162 except (TypeError, AttributeError): 163 163 pass -
main/waeup.sirp/trunk/src/waeup/sirp/objecthistory.py
r7321 r7370 58 58 timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S") 59 59 user = get_current_principal() 60 import pdb; pdb.set_trace() 60 61 if user is None: 61 62 user = 'system' 62 elif user. title == 'Applicant':63 user = ' applicant'63 elif user.id == 'zope.anybody': 64 user = 'Anonymous' 64 65 else: 65 user = user. id66 user = user.title 66 67 msg = '%s - %s by %s' % (timestamp, msg, user) 67 68 msgs.append(msg)
Note: See TracChangeset for help on using the changeset viewer.