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

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

Issue 10830252: Extensions Docs Server: Uniform handling of file not found errors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better error handling/slight template fix to pass integration_test 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
Index: chrome/common/extensions/docs/server2/converter.py
diff --git a/chrome/common/extensions/docs/server2/converter.py b/chrome/common/extensions/docs/server2/converter.py
index 75037280752c0508192e91c86ace5a53303df3d2..726f4160c0f7d0aa2548ddb352a7fa70d814d681 100755
--- a/chrome/common/extensions/docs/server2/converter.py
+++ b/chrome/common/extensions/docs/server2/converter.py
@@ -303,7 +303,7 @@ def _MoveSingleFile(source_dir,
static_data is not None)
static_file = os.path.join(intros_dest, processed_name + '.html')
else:
- template_data = _MakeArticleTemplate(unix_name, path)
+ template_data = _MakeArticleTemplate(processed_name, path)
static_file = os.path.join(articles_dest, processed_name + '.html')
if replace or not os.path.exists(template_file):
_WriteFile(template_file, template_data)

Powered by Google App Engine
This is Rietveld 408576698