| Index: chrome/common/extensions/docs/server2/render_servlet.py
|
| ===================================================================
|
| --- chrome/common/extensions/docs/server2/render_servlet.py (revision 197821)
|
| +++ chrome/common/extensions/docs/server2/render_servlet.py (working copy)
|
| @@ -58,6 +58,9 @@
|
|
|
| if channel is None:
|
| channel = _DEFAULT_CHANNEL
|
| + base_path = '/'
|
| + else:
|
| + base_path = '/%s/' % channel
|
|
|
| # AppEngine instances should never need to call out to SVN. That should
|
| # only ever be done by the cronjobs, which then write the result into
|
| @@ -77,7 +80,7 @@
|
| # to run the cron before rendering things.
|
| constructor = (ServerInstance.CreateOnline if _ALWAYS_ONLINE else
|
| ServerInstance.GetOrCreateOffline)
|
| - server_instance = constructor(channel)
|
| + server_instance = constructor(channel, base_path)
|
|
|
| canonical_path = server_instance.path_canonicalizer.Canonicalize(path)
|
| if path != canonical_path:
|
|
|