Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/xol.py
diff options
context:
space:
mode:
authorAleksey 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)
commit6afad054b4ab1f0b33e9f73b1216cd60c73dfc6b (patch)
tree102eaeb04d7154319b31b1b908d39d62d4dd9427 /xol.py
parenta1d054567e561052b39b09234921c9f5395acf41 (diff)
Store temporary files in /tmp to satisfy rainbow
Diffstat (limited to 'xol.py')
-rw-r--r--xol.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/xol.py b/xol.py
index d7b1761..18aa3aa 100644
--- a/xol.py
+++ b/xol.py
@@ -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):
"""