Changeset 3328
- Timestamp:
- 13 Mar 2008, 12:57:21 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_upload/import_uploads.py
r3327 r3328 33 33 34 34 messages = [] 35 disable_bypass = False 36 35 37 for long_id in ids: 36 38 short_id = long_id.replace('.csv','') … … 43 45 context.portal_catalog.setBypassQueue(1) 44 46 context.waeup_tool.doCommit() 47 disable_bypass = True 45 48 46 49 msg = context.waeup_tool.importData(short_id, … … 50 53 messages += msg, 51 54 52 if context.portal_catalog.getBypassQueue():55 if disable_bypass: 53 56 context.portal_catalog.setBypassQueue(0) 54 57 context.waeup_tool.doCommit()
Note: See TracChangeset for help on using the changeset viewer.