Changeset 2618 for WAeUP_SRP/base/skins
- Timestamp:
- 9 Nov 2007, 22:38:22 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_utilities/ti_391_resolve.py
r2609 r2618 49 49 count = 0 50 50 commit_after = 50 51 logger.info('started for %d' % total)51 logger.info('started to fix %d personal emails' % total) 52 52 for brain in brains: 53 53 count += 1 … … 61 61 #rwrite ("%s email = %s" % (brain.getId,doc.email)) 62 62 except: 63 logger.info(" failed to get application object of %s" % (brain.id,))63 logger.info("%s, failed to get application object" % (brain.id,)) 64 64 continue 65 65 if not app_doc.app_email or app_doc.app_email.find('@') < 0: 66 logger.info("%s both emails %s/%s are invalid" % (brain.id,66 logger.info("%s, both emails (%s, %s) are invalid" % (brain.id, 67 67 app_doc.app_email, 68 68 brain.email)) … … 72 72 #rwrite ("%s email = %s" % (brain.getId,doc.email)) 73 73 except: 74 logger.info(" failed to get personal object of %s" % (brain.id,))74 logger.info("%s, failed to get personal object" % (brain.id,)) 75 75 continue 76 logger.info(" setting email of %sfrom %s to %s" % (brain.id,76 logger.info("%s, setting email from %s to %s" % (brain.id, 77 77 per_doc.email, 78 78 app_doc.app_email)) … … 84 84 # if count > 2000: 85 85 # break 86 logger.info('finished checked %d edited %d' % (count,86 logger.info('finished, %d checked, %d edited' % (count, 87 87 edited,)) 88 88
Note: See TracChangeset for help on using the changeset viewer.