summaryrefslogtreecommitdiff
path: root/lib/git/repo.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-12 14:56:47 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-12 14:56:47 +0200
commit637eadce54ca8bbe536bcf7c570c025e28e47129 (patch)
treec8691e6358e2b626b42c19bb6bb893e83464b40c /lib/git/repo.py
parentf2834177c0fdf6b1af659e460fd3348f468b8ab0 (diff)
downloadgitpython-637eadce54ca8bbe536bcf7c570c025e28e47129.tar.gz
renamed from_string and list_from_string to _from_string and _list_from_string to indicate their new status as private method, adjusted all callers respectively
Diffstat (limited to 'lib/git/repo.py')
-rw-r--r--lib/git/repo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/git/repo.py b/lib/git/repo.py
index 6e23dbc6..dd5acfc3 100644
--- a/lib/git/repo.py
+++ b/lib/git/repo.py
@@ -179,9 +179,9 @@ class Repo(object):
c = commits.get(sha)
if c is None:
c = Commit( self, id=sha,
- author=Actor.from_string(info['author'] + ' ' + info['author_email']),
+ author=Actor._from_string(info['author'] + ' ' + info['author_email']),
authored_date=info['author_date'],
- committer=Actor.from_string(info['committer'] + ' ' + info['committer_email']),
+ committer=Actor._from_string(info['committer'] + ' ' + info['committer_email']),
committed_date=info['committer_date'],
message=info['summary'])
commits[sha] = c
@@ -357,7 +357,7 @@ class Repo(object):
if path:
arg.append(path)
commits = self.git.log(*arg, **options)
- return Commit.list_from_string(self, commits)
+ return Commit._list_from_string(self, commits)
def diff(self, a, b, *paths):
"""