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

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

Issue 15009006: Docserver: refactor Servlet, ObjectStore, and ServerInstance architecture to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cduvall, redirect fix Created 7 years, 7 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/intro_data_source.py
diff --git a/chrome/common/extensions/docs/server2/intro_data_source.py b/chrome/common/extensions/docs/server2/intro_data_source.py
index 53034de158b96cc522a2abb5cde5c5cfb00ca76a..1e298759c9771281f40f6fcd634c49eec07d8bdb 100644
--- a/chrome/common/extensions/docs/server2/intro_data_source.py
+++ b/chrome/common/extensions/docs/server2/intro_data_source.py
@@ -18,9 +18,9 @@ from third_party.handlebar import Handlebar
_H1_REGEX = re.compile('<h1[^>.]*?>.*?</h1>', flags=re.DOTALL)
class _IntroParser(HTMLParser):
- """ An HTML parser which will parse table of contents and page title info out
+ ''' An HTML parser which will parse table of contents and page title info out
of an intro.
- """
+ '''
def __init__(self):
HTMLParser.__init__(self)
self.toc = []
@@ -60,9 +60,9 @@ class _IntroParser(HTMLParser):
self._current_heading['title'] += data
class IntroDataSource(object):
- """This class fetches the intros for a given API. From this intro, a table
+ '''This class fetches the intros for a given API. From this intro, a table
of contents dictionary is created, which contains the headings in the intro.
- """
+ '''
class Factory(object):
def __init__(self, compiled_fs_factory, ref_resolver_factory, base_paths):
self._cache = compiled_fs_factory.Create(self._MakeIntroDict,

Powered by Google App Engine
This is Rietveld 408576698