randy3k / GitStatusBar

A more compact Git StatusBar
MIT License
13 stars 1 forks source link

Optimize #6

Open Alexey-T opened 6 years ago

Alexey-T commented 6 years ago
    def badge(self):
        branch = self.branch()

you have branch() call before badge() call, branch() called 2 times. just give this str to bange(self, branch).