summaryrefslogtreecommitdiffstats
path: root/git_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_config.py')
-rw-r--r--git_config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/git_config.py b/git_config.py
index 6ea505f9..bc7ed459 100644
--- a/git_config.py
+++ b/git_config.py
@@ -172,6 +172,11 @@ class GitConfig(object):
172 self._branches[b.name] = b 172 self._branches[b.name] = b
173 return b 173 return b
174 174
175 def GetSubSections(self, section):
176 """List all subsection names matching $section.*.*
177 """
178 return self._sections.get(section, set())
179
175 def HasSection(self, section, subsection = ''): 180 def HasSection(self, section, subsection = ''):
176 """Does at least one key in section.subsection exist? 181 """Does at least one key in section.subsection exist?
177 """ 182 """