Rename PowerlineState to PowerlineLogger

This commit is contained in:
ZyX 2013-04-08 22:59:14 +04:00
parent 587789ebda
commit 49618fc4e3
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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