From a82ba3893ac6b249eefe5081b76cc3be92b428c5 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Thu, 12 Mar 2009 19:33:04 +0000 Subject: Remove map event issue by switching to {new|resume|save|share}_instance --- (limited to 'document.py') diff --git a/document.py b/document.py index d3ba739..6e1e979 100644 --- a/document.py +++ b/document.py @@ -78,9 +78,6 @@ def save(filepath): zip.writestr('MANIFEST', json.dumps(cfg)) zip.close() - import shutil - shutil.copy(filepath, '/tmp/foo.zip') - def load(filepath): zip = ZipFile(filepath, 'r') cfg = json.loads(zip.read('MANIFEST')) -- cgit v0.9.1