Traceback (most recent call last):

 "/home/keramidas/.local/lib/python2.7/site-packages/powerline/segment.py", line 298, in get
contents, _contents_func, module, function_name, name = get_segment_info(data, segment)

 "/home/keramidas/.local/lib/python2.7/site-packages/powerline/segment.py", line 62, in get_function
function_name = segment['function']KeyError: u'function'
Traceback (most recent call last):

 "/usr/lib/python2.7/site-packages/powerline/segment.py", line 298, in get
contents, _contents_func, module, function_name, name = get_segment_info(data, segment)

 "/usr/lib/python2.7/site-packages/powerline/segment.py", line 62, in get_function
function_name = segment['function']KeyError: u'function'