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/parallel_emerge.py b/scripts/parallel_emerge.py
index 56bc1f9..fc77974 100644
--- a/scripts/parallel_emerge.py
+++ b/scripts/parallel_emerge.py
@@ -671,8 +671,9 @@
def PrintCycleBreak(basedep, dep, mycycle):
"""Print details about a cycle that we are planning on breaking.
- We are breaking a cycle where dep needs basedep. mycycle is an
- example cycle which contains dep -> basedep."""
+ We are breaking a cycle where dep needs basedep. mycycle is an
+ example cycle which contains dep -> basedep.
+ """
needs = deps_map[dep]["needs"]
depinfo = needs.get(basedep, "deleted")
@@ -1078,7 +1079,8 @@
def __init__(self, job, unlink=False):
"""Print output of job.
- If unlink is True, unlink the job output file when done."""
+ If unlink is True, unlink the job output file when done.
+ """
self.current_time = time.time()
self.job = job
self.unlink = unlink