Changeset 6823 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 28 Sep 2011, 14:08:34 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/batchprocessing.txt
r6821 r6823 66 66 67 67 >>> open('faculties.csv', 'wb').write( 68 ... """code, review_state,title,title_prefix69 ... FAC1, static,Faculty 1,faculty70 ... FAC2, static,Faculty 2,institute71 ... FAC3, static,Faculty 3,school68 ... """code,title,title_prefix 69 ... FAC1,Faculty 1,faculty 70 ... FAC2,Faculty 2,institute 71 ... FAC3,Faculty 3,school 72 72 ... """) 73 73 … … 164 164 165 165 >>> open('departments.csv', 'wb').write( 166 ... """code,faculty_code, review_state,title,title_prefix167 ... DEP1,FAC1, static,Department 1,department168 ... DEP2,FAC2, static,Department 2,centre166 ... """code,faculty_code,title,title_prefix 167 ... DEP1,FAC1,Department 1,department 168 ... DEP2,FAC2,Department 2,centre 169 169 ... """) 170 170 … … 433 433 434 434 >>> open('newfaculties.csv', 'wb').write( 435 ... """code, review_state,title,title_prefix436 ... FAC1, static,Faculty 1,faculty437 ... FAC4, static,Faculty 4,school435 ... """code,title,title_prefix 436 ... FAC1,Faculty 1,faculty 437 ... FAC4,Faculty 4,school 438 438 ... """) 439 439 … … 485 485 >>> print open(pending_file).read() 486 486 title_prefix,--IGNORE--,code,title,--ERRORS-- 487 faculty, static,FAC1,Faculty 1,This object already exists in the same container. Skipping.487 faculty,FAC1,Faculty 1,This object already exists in the same container. Skipping. 488 488 489 489 >>> finished_file = dc_path + '/finished/newfaculties_zope.mgr.create.finished.csv' 490 490 >>> print open(finished_file).read() 491 491 title_prefix,--IGNORE--,code,title 492 school, static,FAC4,Faculty 4492 school,FAC4,Faculty 4 493 493 494 494 The finished-file contains the dataset we could import, while the … … 506 506 >>> open(dc_path + '/newfaculties_zope.mgr.create.pending.csv', 'wb').write( 507 507 ... """title_prefix,--IGNORE--,code,title 508 ... faculty, static,FAC5,Faculty 5508 ... faculty,FAC5,Faculty 5 509 509 ... """) 510 510
Note: See TracChangeset for help on using the changeset viewer.