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

Unified Diff: telemetry/build/update_docs.py

Issue 2978643002: Removing bad-continuation param and fixing resulting errors. Fixed indentation errors, in telemetry… (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | telemetry/pylintrc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/build/update_docs.py
diff --git a/telemetry/build/update_docs.py b/telemetry/build/update_docs.py
index 7f43b58e036104892f1de722a1a7fabb440e941d..febcd76a036fd61e6802abf617e7b98b7be7e752 100644
--- a/telemetry/build/update_docs.py
+++ b/telemetry/build/update_docs.py
@@ -97,13 +97,13 @@ def GetAlreadyDocumentedModules():
def IsUpdateDocsNeeded():
already_documented_modules = GetAlreadyDocumentedModules()
- already_documented_modules_by_name = dict(
+ already_documented_modules_by_name = dict(\
(module.name, module) for module in already_documented_modules)
current_modules = GetAllModulesToDocument(telemetry)
# Quick check: if the names of modules has changed, we definitely need
# an update.
- already_documented_module_names = set(
+ already_documented_module_names = set(\
m.name for m in already_documented_modules)
current_module_names = set([m.__name__ for m in current_modules])
@@ -113,8 +113,8 @@ def IsUpdateDocsNeeded():
# Generate the new docs and compare aganist the old. If changed, then a
# an update is needed.
- for current_module in current_modules:
- already_documented_module = already_documented_modules_by_name[
+ for current_module in current_modules:\
+ already_documented_module = already_documented_modules_by_name[\
current_module.__name__]
current_html = GenerateHTMLForModule(current_module)
if current_html != already_documented_module.contents:
« no previous file with comments | « no previous file | telemetry/pylintrc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698