Changeset 3204 for WAeUP_SRP/base
- Timestamp:
- 23 Feb 2008, 22:48:48 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r3202 r3204 1465 1465 imported = [] 1466 1466 old_commit_count = 0 1467 with_error_count = imported_count = 01467 error_count = imported_count = 0 1468 1468 already_in = 0 1469 1469 for record in items: … … 1521 1521 log_list = [] 1522 1522 if error: 1523 error_count += 1 1523 1524 digest = makeDigest(mapping,data_keys) 1524 1525 if digest not in pending_digests: … … 1536 1537 if log_list: 1537 1538 time_till_now = time.time() - elapse 1538 percent_finished = ( with_error_count + imported_count)/tti_float*1001539 percent_finished = (error_count + imported_count)/tti_float*100 1539 1540 log_list.insert(0,("%(percent_finished)6.3f %% done in %(time_till_now)3.2fs," % vars()),) 1540 1541 logger.info(' '.join(log_list))
Note: See TracChangeset for help on using the changeset viewer.