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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/system/logutils.py

Issue 2256793002: Make docstrings more consistent using format-webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make indentation of final quote based on parse tree (indentation prior to docstring node) rather th… Created 4 years, 3 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
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/system/logutils.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/logutils.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/logutils.py
index e75ff2ccd49ae1722519271b2b709c06c7e28fce..d1e91ec3e44f5c22e234f11a0c190cff054d64f1 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/logutils.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/logutils.py
@@ -47,7 +47,6 @@ def _normalize_path(path):
Converts a path to an absolute path, removes any trailing slashes,
removes any extension, and lower-cases it.
-
"""
path = os.path.abspath(path)
path = os.path.normpath(path)
@@ -86,7 +85,6 @@ def get_logger(path):
from webkitpy.common.system import logutils
_log = logutils.get_logger(__file__)
-
"""
# Since we assign to _scripts_dir and _webkitpy_dir in this function,
# we need to declare them global.
@@ -130,7 +128,6 @@ def _default_handlers(stream, logging_level):
Args:
stream: See the configure_logging() docstring.
-
"""
# Create the filter.
def should_log(record):
@@ -178,7 +175,6 @@ def configure_logging(logging_level=None, logger=None, stream=None,
handlers: A list of logging.Handler instances to add to the logger
being configured. If this parameter is provided, then the
stream parameter is not used.
-
"""
# If the stream does not define an "encoding" data attribute, the
# logging module can throw an error like the following:

Powered by Google App Engine
This is Rietveld 408576698