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

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

Issue 498813002: Rename the docserver third_party dependency "handlebar" to "motemplate", as part (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: imports Created 6 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 | « chrome/common/extensions/docs/README ('k') | chrome/common/extensions/docs/server2/compiled_file_system.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/server2/build_server.py
diff --git a/chrome/common/extensions/docs/server2/build_server.py b/chrome/common/extensions/docs/server2/build_server.py
index 58bd9d7d775b0b32a7898c588bb53ae99643fdfb..f31eaa00d8c77ec524878caa104392fbf338b773 100755
--- a/chrome/common/extensions/docs/server2/build_server.py
+++ b/chrome/common/extensions/docs/server2/build_server.py
@@ -58,7 +58,7 @@ def main():
'*-------------------------------------------------------------*\n')
- CopyThirdParty(os.path.join(THIRD_PARTY_DIR, 'handlebar'), 'handlebar')
+ CopyThirdParty(os.path.join(THIRD_PARTY_DIR, 'motemplate'), 'motemplate')
CopyThirdParty(os.path.join(THIRD_PARTY_DIR, 'markdown'), 'markdown',
make_init=False)
CopyThirdParty(os.path.join(SRC_DIR, 'ppapi', 'generators'),
@@ -79,11 +79,11 @@ def main():
CopyThirdParty(os.path.join(THIRD_PARTY_DIR, 'google_appengine_cloudstorage',
'cloudstorage'), 'cloudstorage')
- # To be able to use the Handlebar class we need this import in __init__.py.
+ # To be able to use the Motemplate class we need this import in __init__.py.
with open(os.path.join(LOCAL_THIRD_PARTY_DIR,
- 'handlebar',
+ 'motemplate',
'__init__.py'), 'a') as f:
- f.write('from handlebar import Handlebar\n')
+ f.write('from motemplate import Motemplate\n')
if __name__ == '__main__':
main()
« no previous file with comments | « chrome/common/extensions/docs/README ('k') | chrome/common/extensions/docs/server2/compiled_file_system.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698