mirror of
https://github.com/powerline/powerline.git
synced 2025-07-27 07:44:36 +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):
|
def branch(self):
|
||||||
try:
|
try:
|
||||||
b = branch.Branch.open(self.directory)
|
b = branch.Branch.open(self.directory)
|
||||||
return b.nick or None
|
return b._get_nick(local=True) or None
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user