summaryrefslogtreecommitdiffstats
path: root/subcmds/info.py
diff options
context:
space:
mode:
Diffstat (limited to 'subcmds/info.py')
-rw-r--r--subcmds/info.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/subcmds/info.py b/subcmds/info.py
index 96fa6a4c..76f5d1d6 100644
--- a/subcmds/info.py
+++ b/subcmds/info.py
@@ -18,10 +18,12 @@ from command import PagedCommand
18from color import Coloring 18from color import Coloring
19from git_refs import R_M 19from git_refs import R_M
20 20
21
21class _Coloring(Coloring): 22class _Coloring(Coloring):
22 def __init__(self, config): 23 def __init__(self, config):
23 Coloring.__init__(self, config, "status") 24 Coloring.__init__(self, config, "status")
24 25
26
25class Info(PagedCommand): 27class Info(PagedCommand):
26 common = True 28 common = True
27 helpSummary = "Get info on the manifest branch, current branch or unmerged branches" 29 helpSummary = "Get info on the manifest branch, current branch or unmerged branches"
@@ -41,7 +43,6 @@ class Info(PagedCommand):
41 dest="local", action="store_true", 43 dest="local", action="store_true",
42 help="Disable all remote operations") 44 help="Disable all remote operations")
43 45
44
45 def Execute(self, opt, args): 46 def Execute(self, opt, args):
46 self.out = _Coloring(self.manifest.globalConfig) 47 self.out = _Coloring(self.manifest.globalConfig)
47 self.heading = self.out.printer('heading', attr='bold') 48 self.heading = self.out.printer('heading', attr='bold')