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

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

Issue 15087006: Docserver: there is only one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: epic rebase Created 7 years, 5 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/app_yaml_helper.py
diff --git a/chrome/common/extensions/docs/server2/app_yaml_helper.py b/chrome/common/extensions/docs/server2/app_yaml_helper.py
index 08f70031afd1736d1aaebb04cb0b04fe66b84cb1..63a0cc79158fa109f2e40120e3e1a9f6daddb901 100644
--- a/chrome/common/extensions/docs/server2/app_yaml_helper.py
+++ b/chrome/common/extensions/docs/server2/app_yaml_helper.py
@@ -20,8 +20,7 @@ class AppYamlHelper(object):
app_yaml_path,
file_system_at_head,
object_store_creator,
- host_file_system_creator,
- branch):
+ host_file_system_creator):
self._app_yaml_path = app_yaml_path
self._file_system_at_head = file_system_at_head
self._store = object_store_creator.Create(
@@ -29,7 +28,6 @@ class AppYamlHelper(object):
category=file_system_at_head.GetIdentity(),
start_empty=False)
self._host_file_system_creator = host_file_system_creator
- self._branch = branch
@staticmethod
def ExtractVersion(app_yaml, key='version'):
@@ -120,7 +118,6 @@ class AppYamlHelper(object):
logging.warning('All revisions are greater than %s' % app_version)
return 0
next_file_system = self._host_file_system_creator.Create(
- self._branch,
revision=found - 1)
if found is None:
« no previous file with comments | « chrome/common/extensions/docs/server2/app.yaml ('k') | chrome/common/extensions/docs/server2/app_yaml_helper_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698