diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-12 14:56:47 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-12 14:56:47 +0200 |
commit | 637eadce54ca8bbe536bcf7c570c025e28e47129 (patch) | |
tree | c8691e6358e2b626b42c19bb6bb893e83464b40c /lib/git/repo.py | |
parent | f2834177c0fdf6b1af659e460fd3348f468b8ab0 (diff) | |
download | gitpython-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.py | 6 |
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): """ |