<s> import os <EOL> settings . security . audit_write = False <EOL> table = db . auth_user <EOL> user_id = db ( table . email == "<STR_LIT>" ) . select ( ) . first ( ) . id <EOL> auth . s3_impersonate ( user_id ) <EOL> settings . gis . check_within_parent_boundaries = False <EOL> s3db . org_organisation . phone . requires = None <EOL> table = s3db . org_facility <EOL> table . phone1 . requires = None <EOL> table . organisation_id . default = None <EOL> resource = s3db . resource ( "<STR_LIT>" ) <EOL> stylesheet = os . path . join ( request . folder , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ) <EOL> filename = os . path . join ( request . folder , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ) <EOL> File = open ( filename , "<STR_LIT:r>" ) <EOL> resource . import_xml ( File , format = "<STR_LIT>" , stylesheet = stylesheet ) <EOL> db . commit ( ) </s>
