Changeset 4998 for main/waeup.sirp/trunk/src
- Timestamp:
- 3 Feb 2010, 15:37:14 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/batchprocessing.txt
r4993 r4998 472 472 ``finished`` dirs: 473 473 474 >>> pending_file = dc_path + '/newfaculties_zope.mgr. pending.csv'474 >>> pending_file = dc_path + '/newfaculties_zope.mgr.create.pending.csv' 475 475 >>> print open(pending_file).read() 476 476 title_prefix,--IGNORE--,code,title,--ERRORS-- 477 477 faculty,static,FAC1,Faculty 1,This object already exists. Skipping. 478 478 479 >>> finished_file = dc_path + '/finished/newfaculties_zope.mgr. finished.csv'479 >>> finished_file = dc_path + '/finished/newfaculties_zope.mgr.create.finished.csv' 480 480 >>> print open(finished_file).read() 481 481 title_prefix,--IGNORE--,code,title … … 494 494 import this way: 495 495 496 >>> open(dc_path + '/newfaculties_zope.mgr. pending.csv', 'wb').write(496 >>> open(dc_path + '/newfaculties_zope.mgr.create.pending.csv', 'wb').write( 497 497 ... """title_prefix,--IGNORE--,code,title 498 498 ... faculty,static,FAC5,Faculty 5 … … 504 504 >>> browser.getLink('Batch processing').click() 505 505 >>> button = lookup_submit_value( 506 ... 'select', 'newfaculties_zope.mgr. pending.csv', browser)506 ... 'select', 'newfaculties_zope.mgr.create.pending.csv', browser) 507 507 >>> button.click() 508 508 … … 537 537 538 538 >>> sorted(os.listdir(dc_path + '/finished')) 539 ['certificates_zope.mgr.csv', ..., 'newfaculties_zope.mgr.csv', 540 'newfaculties_zope.mgr.finished.csv'] 539 ['certificates_zope.mgr.create.finished.csv', ..., 540 'newfaculties_zope.mgr.create.finished.csv', 541 'newfaculties_zope.mgr.csv'] 541 542 542 543
Note: See TracChangeset for help on using the changeset viewer.