| Index: chrome/common/extensions/docs/server2/docs_server_utils.py
|
| ===================================================================
|
| --- chrome/common/extensions/docs/server2/docs_server_utils.py (revision 150390)
|
| +++ chrome/common/extensions/docs/server2/docs_server_utils.py (working copy)
|
| @@ -13,7 +13,7 @@
|
| safe_key = key.replace('.', '_')
|
| return safe_key + '.html'
|
|
|
| -def SanitizeAPIName(name, api_path):
|
| +def SanitizeAPIName(name, api_path=''):
|
| """Sanitizes API filenames that are in subdirectories.
|
| """
|
| filename = os.path.splitext(name)[0][len(api_path):].replace('/', '_')
|
|
|