Added missing pl argument

It is a problem with git automatic merging.
This commit is contained in:
ZyX 2013-04-21 00:38:26 +04:00
parent 18a05b4445
commit 6ecba94b9a
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ segment_getters = {
} }
def gen_segment_getter(ext, path, theme_configs, default_module=None): def gen_segment_getter(pl, ext, path, theme_configs, default_module=None):
data = { data = {
'default_module': default_module or 'powerline.segments.' + ext, 'default_module': default_module or 'powerline.segments.' + ext,
'path': path, 'path': path,

View File

@ -44,7 +44,7 @@ class Theme(object):
theme_configs = [theme_config] theme_configs = [theme_config]
if top_theme_config: if top_theme_config:
theme_configs.append(top_theme_config) theme_configs.append(top_theme_config)
get_segment = gen_segment_getter(ext, common_config['paths'], theme_configs, theme_config.get('default_module')) get_segment = gen_segment_getter(pl, ext, common_config['paths'], theme_configs, theme_config.get('default_module'))
for side in ['left', 'right']: for side in ['left', 'right']:
for segment in theme_config['segments'].get(side, []): for segment in theme_config['segments'].get(side, []):
segment = get_segment(segment, side) segment = get_segment(segment, side)