| Index: chrome/common/extensions/docs/server2/branch_utility.py
|
| diff --git a/chrome/common/extensions/docs/server2/branch_utility.py b/chrome/common/extensions/docs/server2/branch_utility.py
|
| index a395fc45c8b34c98099fa37f170799e28e9e2fc3..5d386ebba205ed1d7b7c3e787651d9209ba9f7ef 100644
|
| --- a/chrome/common/extensions/docs/server2/branch_utility.py
|
| +++ b/chrome/common/extensions/docs/server2/branch_utility.py
|
| @@ -18,7 +18,7 @@ class BranchUtility(object):
|
|
|
| def GetChannelNameFromPath(self, path):
|
| first_part = path.split('/')[0]
|
| - if first_part in ['trunk', 'dev', 'beta', 'stable']:
|
| + if first_part in ['trunk', 'dev', 'beta', 'stable', 'local']:
|
| return first_part
|
| else:
|
| return 'stable'
|
| @@ -27,8 +27,8 @@ class BranchUtility(object):
|
| """Returns an empty string if the branch number cannot be found.
|
| Throws exception on network errors.
|
| """
|
| - if channel_name == 'trunk':
|
| - return 'trunk'
|
| + if channel_name == 'trunk' or channel_name == 'local':
|
| + return channel_name
|
|
|
| fetch_data = self.urlfetch.fetch(self.omaha_proxy_url)
|
| if fetch_data.content == '':
|
|
|