Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Document.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-01-31 23:54:17 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-01-31 23:54:17 (GMT)
commit5fc4926fbe2cf9e6d1e84d3241befc152d6afb81 (patch)
treeb2fc9469adb034c686f569a953033ff87315ccd3 /Document.py
parent2c57833688b6cd36b284de7194fdad7c5571087d (diff)
use save_to_callback() instead of save() to save files to zip
Diffstat (limited to 'Document.py')
-rw-r--r--Document.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Document.py b/Document.py
index 5db435a..6e8e7cf 100644
--- a/Document.py
+++ b/Document.py
@@ -82,9 +82,6 @@ def save(filepath):
zip.writestr('MANIFEST.xml', tostring(manifest, encoding='utf-8'))
zip.close()
- import shutil
- shutil.copy(filepath, '/tmp/foo.zip')
-
def load(filepath):
zip = Utils.Zip(filepath, 'r')
manifest = fromstring(zip.read('MANIFEST.xml'))