Commit a4345821 authored by Bartek Górny's avatar Bartek Górny

fixed method name

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10410 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1ce39569
...@@ -98,7 +98,7 @@ context.log(script.getId(),\'ok, this address belongs to \'+person.getRelativeUr ...@@ -98,7 +98,7 @@ context.log(script.getId(),\'ok, this address belongs to \'+person.getRelativeUr
# create objects from attachments\n # create objects from attachments\n
try:\n try:\n
for fname,data in theMail[\'attachments\'].items():\n for fname,data in theMail[\'attachments\'].items():\n
obj=context.DMS_createObjectFromMail(fname,data)\n obj=context.DMS_createObjectFromFile(fname,data)\n
obj.manage_setLocalRoles(person.getReference(),[\'Owner\',])\n obj.manage_setLocalRoles(person.getReference(),[\'Owner\',])\n
context.DMS_notifyByEmail(address=senderemail,event=\'ingest\',object=obj)\n context.DMS_notifyByEmail(address=senderemail,event=\'ingest\',object=obj)\n
except Exception,e:\n except Exception,e:\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment