tweak docstrings
This fixes section names:
Arguments -> Args
Return -> Returns
It also fixes the last line of the docstring so it isn't cuddled.
And we fix a few docstrings that should be one line but aren't.
BUG=None
TEST=`./buildbot/run_tests` passes
Change-Id: Iaafb7d346a3aee97a40dab340463894c02533091
Reviewed-on: https://chromium-review.googlesource.com/176279
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
diff --git a/scripts/cros_generate_deps_graphs.py b/scripts/cros_generate_deps_graphs.py
index b7dffb2..4ff80ce 100644
--- a/scripts/cros_generate_deps_graphs.py
+++ b/scripts/cros_generate_deps_graphs.py
@@ -22,7 +22,8 @@
"""Gets the closure of the reverse dependencies of a node.
Walks the tree along all the reverse dependency paths to find all the nodes
- that transitively depend on the input node."""
+ that transitively depend on the input node.
+ """
s = set()
def GetClosure(name):
s.add(name)
@@ -56,7 +57,8 @@
def GenerateDotGraph(package, deps_map, options):
"""Generates the dot source for the dependency graph leading to a node.
- The output is a list of lines."""
+ The output is a list of lines.
+ """
deps = GetReverseDependencyClosure(package, deps_map)
node = deps_map[package]