Changes between Version 9 and Version 10 of S3/DataImportCLI
- Timestamp:
- 09/01/12 19:40:05 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/DataImportCLI
v9 v10 17 17 Define the target resource: 18 18 {{{ 19 resource = s3 mgr.define_resource("project", "activity")19 resource = s3db.resource("project_activity") 20 20 }}} 21 21 … … 35 35 print resource.error # prints the error message 36 36 37 print s3mgr.xml.tostring(resource.error_tree, pretty_print=True) # prints the error tree as XML37 print current.xml.tostring(resource.error_tree, pretty_print=True) # prints the error tree as XML 38 38 }}} 39 39