Fixed redundant assignment typo

This commit is contained in:
Shervin Sahba 2019-10-28 20:58:02 -07:00 committed by GitHub
parent 1ea649e2a8
commit 8edea0455d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()