mirror of
https://github.com/b-ryan/powerline-shell.git
synced 2026-09-10 07:26:28 -04:00
fix issues with hg segment
This commit is contained in:
parent
b5f2d8a525
commit
b053eb4e51
|
|
@ -43,5 +43,5 @@ class Segment(ThreadedSegment):
|
|||
extra += '+'
|
||||
if has_missing:
|
||||
extra += '!'
|
||||
branch += (' ' + extra if extra != '' else '')
|
||||
return powerline.append(' %s ' % branch, fg, bg)
|
||||
self.branch += (' ' + extra if extra != '' else '')
|
||||
return self.powerline.append(' %s ' % self.branch, fg, bg)
|
||||
|
|
|
|||
Loading…
Reference in a new issue