summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-10-26 19:44:48 +0200
committerGuido Günther <agx@sigxcpu.org>2011-10-26 19:44:48 +0200
commit38b4f71f9ab960d2ff70e731e0895ec90e40911d (patch)
tree7ff54daf8b2ad070e9caa21f196c7d6fe458d18e
parent58ddd05147316531199b4622e122adb245c8d4bb (diff)
GitRepository: mark _get_branches private
-rw-r--r--gbp/git.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gbp/git.py b/gbp/git.py
index 2b476e1..30417f5 100644
--- a/gbp/git.py
+++ b/gbp/git.py
@@ -89,7 +89,7 @@ class GitRepository(object):
@group Repository Creation: create clone
@group Branches and Merging: create_branch delete_branch get_branch
- get_branches get_local_branches get_merge_branch get_remote_branches
+ _get_branches get_local_branches get_merge_branch get_remote_branches
has_branch is_fast_forward merge set_branch
@group Tags: _build_legacy_tag create_tag delete_tag find_tag get_tags
has_tag move_tag find_version
@@ -801,7 +801,7 @@ class GitRepository(object):
name = os.getenv("GIT_AUTHOR_NAME", name)
return (name, email)
- def get_branches(self, remote=False):
+ def _get_branches(self, remote=False):
"""
Get a list of branches
@@ -822,7 +822,7 @@ class GitRepository(object):
@return: remote branches
@rtype: list
"""
- return self.get_branches(remote=True)
+ return self._get_branches(remote=True)
def get_local_branches(self):
"""
@@ -831,7 +831,7 @@ class GitRepository(object):
@return: local branches
@rtype: list
"""
- return self.get_branches(remote=False)
+ return self._get_branches(remote=False)
def get_remote_repos(self):
"""