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

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

Issue 10878056: Extensions Docs Server: Fix samples page and ExampleZipper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test + fixes Created 8 years, 4 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/example_zipper_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6f9e5c00f71bc0747052436ae6cddf97fcbfc160..37a169399b890ea310616db2bb71dfe5b5624eb5 100644
--- a/chrome/common/extensions/docs/server2/example_zipper.py
+++ b/chrome/common/extensions/docs/server2/example_zipper.py
@@ -12,12 +12,11 @@ import compiled_file_system as compiled_fs
class ExampleZipper(object):
"""This class creates a zip file given a samples directory.
"""
- def __init__(self, file_system, cache_factory, base_path, match_path):
+ def __init__(self, file_system, cache_factory, base_path):
self._base_path = base_path
self._zip_cache = cache_factory.Create(self._MakeZipFile,
compiled_fs.ZIP)
self._file_system = file_system
- self._match_path = match_path
def _MakeZipFile(self, files):
zip_path = os.path.commonprefix(files).rsplit('/', 1)[-2]
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/example_zipper_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698