Skip to content

Commit 7df46b9

Browse files
committed
clean up log docs, rm unusd imports
1 parent fbeac68 commit 7df46b9

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

tmuxp/log.py

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
~~~~~~~~~
77
88
"""
9-
from __future__ import (absolute_import, division, print_function,
10-
unicode_literals, with_statement)
9+
from __future__ import absolute_import, unicode_literals
1110

1211
import logging
1312
import time
@@ -24,7 +23,8 @@
2423

2524

2625
def default_log_template(self, record):
27-
"""Return the prefix for the log message. Template for Formatter.
26+
"""
27+
Return the prefix for the log message. Template for Formatter.
2828
2929
Parameters
3030
----------
@@ -81,11 +81,19 @@ def format(self, record):
8181

8282

8383
def debug_log_template(self, record):
84-
""" Return the prefix for the log message. Template for Formatter.
84+
"""
85+
Return the prefix for the log message. Template for Formatter.
8586
86-
:param: record: :py:class:`logging.LogRecord` object. this is passed in
87-
from inside the :py:meth:`logging.Formatter.format` record.
87+
Parameters
88+
----------
89+
record : :py:class:`logging.LogRecord`
90+
This is passed in from inside the :py:meth:`logging.Formatter.format`
91+
record.
8892
93+
Returns
94+
-------
95+
str
96+
Log template.
8997
"""
9098

9199
reset = Style.RESET_ALL

0 commit comments

Comments
 (0)