diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-03-14 04:03:44 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-03-14 04:03:44 (GMT) |
commit | 6afad054b4ab1f0b33e9f73b1216cd60c73dfc6b (patch) | |
tree | 102eaeb04d7154319b31b1b908d39d62d4dd9427 /xol.py | |
parent | a1d054567e561052b39b09234921c9f5395acf41 (diff) |
Store temporary files in /tmp to satisfy rainbow
Diffstat (limited to 'xol.py')
-rw-r--r-- | xol.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -85,7 +85,7 @@ themes, with are zipped up and installed in the relevant OS specific location. F here they can be distributed to the consumers
"""
def _publish(title, jobject):
- zipfilename = os.path.join(get_activity_root(), 'tmp', 'publish.xol')
+ zipfilename = '/tmp/infoslicer.xol'
zip = zipfile.ZipFile(zipfilename, 'w')
uid = book.custom.uid
@@ -100,7 +100,7 @@ def _publish(title, jobject): zip.close()
jobject.set_file_path(zipfilename)
- datastore.write(jobject)
+ datastore.write(jobject, transfer_ownership=True)
def _dita_management(zip, uid, title):
"""
|