diff options
Diffstat (limited to 'subcmds/branches.py')
-rw-r--r-- | subcmds/branches.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subcmds/branches.py b/subcmds/branches.py index b8958848..b4894ec8 100644 --- a/subcmds/branches.py +++ b/subcmds/branches.py | |||
@@ -23,7 +23,7 @@ class BranchColoring(Coloring): | |||
23 | def __init__(self, config): | 23 | def __init__(self, config): |
24 | Coloring.__init__(self, config, 'branch') | 24 | Coloring.__init__(self, config, 'branch') |
25 | self.current = self.printer('current', fg='green') | 25 | self.current = self.printer('current', fg='green') |
26 | self.local = self.printer('local') | 26 | self.local = self.printer('local') |
27 | self.notinproject = self.printer('notinproject', fg='red') | 27 | self.notinproject = self.printer('notinproject', fg='red') |
28 | 28 | ||
29 | class BranchInfo(object): | 29 | class BranchInfo(object): |
@@ -170,11 +170,11 @@ is shown, then the branch appears in all projects. | |||
170 | fmt = out.current if i.IsCurrent else out.write | 170 | fmt = out.current if i.IsCurrent else out.write |
171 | for p in paths: | 171 | for p in paths: |
172 | out.nl() | 172 | out.nl() |
173 | fmt(width*' ' + ' %s' % p) | 173 | fmt(width * ' ' + ' %s' % p) |
174 | fmt = out.write | 174 | fmt = out.write |
175 | for p in non_cur_paths: | 175 | for p in non_cur_paths: |
176 | out.nl() | 176 | out.nl() |
177 | fmt(width*' ' + ' %s' % p) | 177 | fmt(width * ' ' + ' %s' % p) |
178 | else: | 178 | else: |
179 | out.write(' in all projects') | 179 | out.write(' in all projects') |
180 | out.nl() | 180 | out.nl() |