Alter indentation

This commit is contained in:
ZyX 2013-04-12 23:45:42 +04:00
parent a1f370490b
commit 40973ea530
1 changed files with 8 additions and 8 deletions

View File

@ -39,17 +39,17 @@ def get_filler(data, segment):
segment_getters = {
"function": get_function,
"string": get_string,
"filler": get_filler,
}
"function": get_function,
"string": get_string,
"filler": get_filler,
}
def gen_segment_getter(ext, path, theme_configs, default_module=None):
data = {
'default_module': default_module or 'powerline.segments.' + ext,
'path': path,
}
'default_module': default_module or 'powerline.segments.' + ext,
'path': path,
}
def get_key(segment, module, key, default=None):
return get_segment_key(segment, theme_configs, key, module, default)
@ -89,6 +89,6 @@ def gen_segment_getter(ext, path, theme_configs, default_module=None):
'_len': 0,
'_space_left': 0,
'_space_right': 0,
}
}
return get