Commit 5d2e5651 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

remove temp dirctory after exporting BT.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40882 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f9ced21c
......@@ -276,6 +276,7 @@ class TemplateTool (BaseTool):
return export_string.getvalue()
finally:
export_string.close()
shutil.rmtree(tmpdir_path)
security.declareProtected( 'Import/Export objects', 'publish' )
def publish(self, business_template, url, username=None, password=None):
......
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