Rename PowerlineState to PowerlineLogger
This commit is contained in:
parent
587789ebda
commit
49618fc4e3
|
@ -23,7 +23,7 @@ def find_config_file(search_paths, config_file):
|
|||
raise IOError('Config file not found in search path: {0}'.format(config_file))
|
||||
|
||||
|
||||
class PowerlineState(object):
|
||||
class PowerlineLogger(object):
|
||||
def __init__(self, use_daemon_threads, logger, ext):
|
||||
self.logger = logger
|
||||
self.ext = ext
|
||||
|
@ -175,7 +175,7 @@ class Powerline(object):
|
|||
self.logger.addHandler(handler)
|
||||
|
||||
if not self.pl:
|
||||
self.pl = PowerlineState(self.use_daemon_threads, self.logger, self.ext)
|
||||
self.pl = PowerlineLogger(self.use_daemon_threads, self.logger, self.ext)
|
||||
if not self.config_loader.pl:
|
||||
self.config_loader.pl = self.pl
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ class Renderer(object):
|
|||
Keyword arguments for ``Theme`` class constructor.
|
||||
:param Colorscheme colorscheme:
|
||||
Colorscheme object that holds colors configuration.
|
||||
:param PowerlineState pl:
|
||||
:param PowerlineLogger pl:
|
||||
Object used for logging.
|
||||
:param int ambiwidth:
|
||||
Width of the characters with east asian width unicode attribute equal to
|
||||
|
|
Loading…
Reference in New Issue