Source

aurum / python / aurum / powerline.py

Diff from to

python/aurum/powerline.py

             for rcid in rcids.itervalues():
                 rc.remove(rcid)
             rcids.clear()
-            buffers[bufnr].pop('funcs')
+            if 'funcs' in buffers[bufnr]:
+                buffers[bufnr].pop('funcs')
 
 def setup_buffer(bufnr, func_name, funcs=None, *args):
     if not started:
         bdict = buffers[bufnr]
 
     if not funcs:
-        if bdict['funcs']:
+        if 'funcs' in bdict:
             funcs = bdict['funcs']
         else:
             funcs = guess()
             'highlight': ['file_vcs_status_'+statchar, 'file_vcs_status']
            }]
 
-def xxx_uncommon():
-    return 'TEXT'
-
 def is_commit():
     return vim.eval('&ft') == 'aurumcommit'