mirror of
https://github.com/powerline/powerline.git
synced 2025-07-26 23:35:04 +02:00
Merge branch '324-fix-bzr-branch-name' into develop
This commit is contained in:
commit
9f5793c453
@ -58,6 +58,6 @@ class Repository(object):
|
||||
def branch(self):
|
||||
try:
|
||||
b = branch.Branch.open(self.directory)
|
||||
return b.nick or None
|
||||
return b._get_nick(local=True) or None
|
||||
except:
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user