mirror of
https://github.com/b-ryan/powerline-shell.git
synced 2026-09-10 07:26:28 -04:00
Fixed redundant assignment typo
This commit is contained in:
parent
1ea649e2a8
commit
8edea0455d
|
|
@ -75,7 +75,7 @@ class Segment(ThreadedSegment):
|
|||
# Truncates branch length
|
||||
branch_max_length = self.powerline.segment_conf("git", "branch_max_length", -1)
|
||||
if len(self.branch) > branch_max_length :
|
||||
self.branch = self.branch = self.branch[:branch_max_length] + u'\u2026'
|
||||
self.branch = self.branch[:branch_max_length] + u'\u2026'
|
||||
|
||||
def add_to_powerline(self):
|
||||
self.join()
|
||||
|
|
|
|||
Loading…
Reference in a new issue