Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2172)

Unified Diff: chrome/common/extensions/docs/server2/example_zipper.py

Issue 14267024: Devserver: have a separate ObjectStore namespace (both memcache and datastore) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove _CheckVersions Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/example_zipper.py
diff --git a/chrome/common/extensions/docs/server2/example_zipper.py b/chrome/common/extensions/docs/server2/example_zipper.py
index eb672156c5085bf8e48be78b1e22e0f4820e9548..8715001d540a56b3f8b3f4749f9072b01a723d0b 100644
--- a/chrome/common/extensions/docs/server2/example_zipper.py
+++ b/chrome/common/extensions/docs/server2/example_zipper.py
@@ -9,9 +9,6 @@ from zipfile import ZipFile
import compiled_file_system as compiled_fs
-# Increment this if the data model changes for ExampleZipper.
-_VERSION = 1
-
class ExampleZipper(object):
"""This class creates a zip file given a samples directory.
"""
@@ -21,8 +18,7 @@ class ExampleZipper(object):
# data source. Otherwise we'd need to fetch the zip files from the cron job.
self._file_cache = compiled_fs_factory.GetOrCreateIdentity()
self._zip_cache = compiled_fs_factory.Create(self._MakeZipFile,
- ExampleZipper,
- version=_VERSION)
+ ExampleZipper)
def _MakeZipFile(self, base_dir, files):
if 'manifest.json' not in files:

Powered by Google App Engine
This is Rietveld 408576698